Table of Contents

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 IMagickGeometry

The offset from origin.

compose CompositeOperator

The 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 IMagickGeometry

The 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 double

The X coordinate.

y double

The Y coordinate.

compose CompositeOperator

The 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

x double

The X coordinate.

y double

The Y coordinate.

image IMagickImage<ushort>

The image to draw.

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 double

The X coordinate.

y double

The Y coordinate.

width double

The width to scale the image to.

height double

The height to scale the image to.

compose CompositeOperator

The 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

double

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

double

X

Gets or sets the X coordinate.

public double X { get; set; }

Property Value

double

Y

Gets or sets the Y coordinate.

public double Y { get; set; }

Property Value

double