diff --git a/src/ImageProcessor/Imaging/ImageLayer.cs b/src/ImageProcessor/Imaging/ImageLayer.cs new file mode 100644 index 000000000..5daa1e8ac --- /dev/null +++ b/src/ImageProcessor/Imaging/ImageLayer.cs @@ -0,0 +1,50 @@ + + +namespace ImageProcessor.Imaging +{ + using System.Drawing; + + /// + /// Encapsulates the properties required to add an image layer to an image. + /// + public class ImageLayer + { + /// + /// The opacity at which to render the text. + /// + private int opacity = 100; + + /// + /// The position to start creating the text from. + /// + private Point position = Point.Empty; + + /// + /// Gets or sets the image. + /// + public Image Image { get; set; } + + /// + /// Gets or sets the size. + /// + public Size Size { get; set; } + + /// + /// Gets or sets the Opacity of the text layer. + /// + public int Opacity + { + get { return this.opacity; } + set { this.opacity = value; } + } + + /// + /// Gets or sets the Position of the text layer. + /// + public Point Position + { + get { return this.position; } + set { this.position = value; } + } + } +}