Class DrawableRectangle
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.
public sealed class DrawableRectangle : IDrawableRectangle, IDrawable
- Inheritance
-
DrawableRectangle
- Implements
-
IDrawableRectangleIDrawable
- Inherited Members
Constructors
DrawableRectangle(double, double, double, double)
Initializes a new instance of the DrawableRectangle class.
public DrawableRectangle(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; }