C# Класс 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.
Наследование: IDrawable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

DrawableViewbox() публичный метод

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() публичный метод

Initializes a new instance of the DrawableViewbox class.
public DrawableViewbox ( Rectangle rectangle ) : System.Drawing
rectangle Rectangle The to use.
Результат System.Drawing

IDrawable() публичный метод

Draws this instance with the drawing wand.
public IDrawable ( IDrawingWand wand ) : void
wand IDrawingWand The want to draw on.
Результат void