Class DrawableComposite
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Encapsulation of the DrawableCompositeImage object.
public sealed class DrawableComposite : IDrawableComposite<ushort>, IDrawable
- Inheritance
-
DrawableComposite
- Implements
-
IDrawableComposite<ushort>IDrawable
- Inherited Members
Constructors
DrawableComposite(IMagickGeometry, CompositeOperator, IMagickImage<ushort>)
Initializes a new instance of the DrawableComposite class.
[Obsolete("This constructor will be removed in the next major release, use the overload with x, y, width, height, compose instead.")]
public DrawableComposite(IMagickGeometry offset, CompositeOperator compose, IMagickImage<ushort> image)
Parameters
offset
IMagickGeometryThe offset from origin.
compose
CompositeOperatorThe algorithm to use.
image
IMagickImage<ushort>The image to draw.
DrawableComposite(IMagickGeometry, IMagickImage<ushort>)
Initializes a new instance of the DrawableComposite class.
[Obsolete("This constructor will be removed in the next major release, use the overload with x, y, width, height, compose instead.")]
public DrawableComposite(IMagickGeometry offset, IMagickImage<ushort> image)
Parameters
offset
IMagickGeometryThe offset from origin.
image
IMagickImage<ushort>The image to draw.
DrawableComposite(double, double, CompositeOperator, IMagickImage<ushort>)
Initializes a new instance of the DrawableComposite class.
public DrawableComposite(double x, double y, CompositeOperator compose, IMagickImage<ushort> image)
Parameters
x
doubleThe X coordinate.
y
doubleThe Y coordinate.
compose
CompositeOperatorThe algorithm to use.
image
IMagickImage<ushort>The image to draw.
DrawableComposite(double, double, IMagickImage<ushort>)
Initializes a new instance of the DrawableComposite class.
[Obsolete("This constructor will be removed in the next major release, use the overload with x, y, compose instead.")]
public DrawableComposite(double x, double y, IMagickImage<ushort> image)
Parameters
DrawableComposite(double, double, double, double, CompositeOperator, IMagickImage<ushort>)
Initializes a new instance of the DrawableComposite class.
public DrawableComposite(double x, double y, double width, double height, CompositeOperator compose, IMagickImage<ushort> image)
Parameters
x
doubleThe X coordinate.
y
doubleThe Y coordinate.
width
doubleThe width to scale the image to.
height
doubleThe height to scale the image to.
compose
CompositeOperatorThe algorithm to use.
image
IMagickImage<ushort>The image to draw.
Properties
Compose
Gets or sets the composition operator.
public CompositeOperator Compose { get; set; }
Property Value
- CompositeOperator
Height
Gets or sets the height to scale the image to.
public double Height { get; set; }
Property Value
Image
Gets the composite image.
public IMagickImage<ushort> Image { get; }
Property Value
- IMagickImage<ushort>
Width
Gets or sets the width to scale the image to.
public double Width { get; set; }
Property Value
X
Gets or sets the X coordinate.
public double X { get; set; }
Property Value
Y
Gets or sets the Y coordinate.
public double Y { get; set; }