C# Class ImageMagick.DrawableViewbox

Sets the overall canvas size to be recorded with the drawing vector data. Usually this will be specified using the same size as the canvas image. When the vector data is saved to SVG or MVG formats, the viewbox is use to specify the size of the canvas image that a viewer will render the vector data on.
Inheritance: IDrawable
Show file Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

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

Initializes a new instance of the DrawableViewbox class.

DrawableViewbox ( Rectangle rectangle ) : System.Drawing

Initializes a new instance of the DrawableViewbox class.

IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Method Details

DrawableViewbox() public method

Initializes a new instance of the DrawableViewbox class.
public DrawableViewbox ( 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.

DrawableViewbox() public method

Initializes a new instance of the DrawableViewbox class.
public DrawableViewbox ( 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