Table of Contents

Class DrawableViewbox

Namespace
ImageMagick
Assembly
Magick.NET-Q16-AnyCPU.dll

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.

public sealed class DrawableViewbox : IDrawableViewbox, IDrawable
Inheritance
DrawableViewbox
Implements
IDrawableViewbox
IDrawable
Inherited Members

Constructors

DrawableViewbox(double, double, double, double)

Initializes a new instance of the DrawableViewbox class.

public DrawableViewbox(double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY)

Parameters

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.

Properties

LowerRightX

Gets or sets the upper left X coordinate.

public double LowerRightX { get; set; }

Property Value

double

LowerRightY

Gets or sets the upper left Y coordinate.

public double LowerRightY { get; set; }

Property Value

double

UpperLeftX

Gets or sets the upper left X coordinate.

public double UpperLeftX { get; set; }

Property Value

double

UpperLeftY

Gets or sets the upper left Y coordinate.

public double UpperLeftY { get; set; }

Property Value

double