Class DrawablePushPattern
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
indicates that subsequent commands up to a DrawablePopPattern command comprise the definition of a named pattern. The pattern space is assigned top left corner coordinates, a width and height, and becomes its own drawing space. Anything which can be drawn may be used in a pattern definition. Named patterns may be used as stroke or brush definitions.
public sealed class DrawablePushPattern : IDrawablePushPattern, IDrawable
- Inheritance
-
DrawablePushPattern
- Implements
-
IDrawablePushPatternIDrawable
- Inherited Members
Constructors
DrawablePushPattern(string, double, double, double, double)
Initializes a new instance of the DrawablePushPattern class.
public DrawablePushPattern(string id, double x, double y, double width, double height)
Parameters
id
stringThe ID of the pattern.
x
doubleThe X coordinate.
y
doubleThe Y coordinate.
width
doubleThe width.
height
doubleThe height.
Properties
Height
Gets or sets the height.
public double Height { get; set; }
Property Value
ID
Gets or sets the ID of the pattern.
[Obsolete("This property will be removed in the next major release, use Id instead.")]
public string ID { get; set; }
Property Value
Id
Gets or sets the ID of the pattern.
public string Id { get; set; }
Property Value
Width
Gets or sets the width.
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; }