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
-
IDrawableViewboxIDrawable
- 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
doubleThe upper left X coordinate.
upperLeftY
doubleThe upper left Y coordinate.
lowerRightX
doubleThe lower right X coordinate.
lowerRightY
doubleThe lower right Y coordinate.
Properties
LowerRightX
Gets or sets the upper left X coordinate.
public double LowerRightX { get; set; }
Property Value
LowerRightY
Gets or sets the upper left Y coordinate.
public double LowerRightY { get; set; }
Property Value
UpperLeftX
Gets or sets the upper left X coordinate.
public double UpperLeftX { get; set; }
Property Value
UpperLeftY
Gets or sets the upper left Y coordinate.
public double UpperLeftY { get; set; }