C# Class ImageMagick.DrawableRectangle

Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.
Inheritance: IDrawable
Show file Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method Description
DrawableRectangle ( double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY )

Initializes a new instance of the DrawableRectangle class.

DrawableRectangle ( Rectangle rectangle ) : System.Drawing

Initializes a new instance of the DrawableRectangle class.

IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

DrawableRectangle() public method

Initializes a new instance of the DrawableRectangle class.
public DrawableRectangle ( double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY )
upperLeftX double The upper left X coordinate.
upperLeftY double The upper left Y coordinate.
lowerRightX double The lower right X coordinate.
lowerRightY double The lower right Y coordinate.

DrawableRectangle() public method

Initializes a new instance of the DrawableRectangle class.
public DrawableRectangle ( Rectangle rectangle ) : System.Drawing
rectangle Rectangle The to use.
return System.Drawing

IDrawable() public method

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