C# Class ImageMagick.DrawablePushPattern

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.
Inheritance: IDrawable
显示文件 Open project: dlemstra/Magick.NET

Public Methods

Method Description
DrawablePushPattern ( string id, double x, double y, double width, double height )

Initializes a new instance of the DrawablePushPattern class.

IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

DrawablePushPattern() public method

Initializes a new instance of the DrawablePushPattern class.
public DrawablePushPattern ( string id, double x, double y, double width, double height )
id string The ID of the pattern.
x double The X coordinate.
y double The Y coordinate.
width double The width.
height double The height.

IDrawable() public method

Draws this instance with the drawing wand.
public IDrawable ( IDrawingWand wand ) : void
wand IDrawingWand The want to draw on.
return void