// --------------------------------------------------------------------------------------------------------------------
//
// Copyright (c) James South.
// Licensed under the Apache License, Version 2.0.
//
//
// Encapsulates the properties required to add an rotation layer to an image.
//
// --------------------------------------------------------------------------------------------------------------------
namespace ImageProcessor.Imaging
{
///
/// A rotation layer to apply an inside rotation to an image
///
public class RotateInsideLayer
{
///
/// Gets or sets the rotation angle.
///
public float Angle { get; set; }
///
/// Gets or sets a value indicating whether to keep the image dimensions.
/// If set to true, the image is zoomed inside the area.
/// If set to false, the area is resized to match the rotated image.
///
public bool KeepImageDimensions { get; set; }
}
}