Class DrawableRoundRectangle
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Draws a rounted rectangle given two coordinates, x & y corner radiuses and using the current stroke, stroke width, and fill settings.
public sealed class DrawableRoundRectangle : IDrawableRoundRectangle, IDrawable
- Inheritance
-
DrawableRoundRectangle
- Implements
-
IDrawableRoundRectangleIDrawable
- Inherited Members
Constructors
DrawableRoundRectangle(double, double, double, double, double, double)
Initializes a new instance of the DrawableRoundRectangle class.
public DrawableRoundRectangle(double upperLeftX, double upperLeftY, double lowerRightX, double lowerRightY, double cornerWidth, double cornerHeight)
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.
cornerWidth
doubleThe corner width.
cornerHeight
doubleThe corner height.
Properties
CornerHeight
Gets or sets the corner height.
public double CornerHeight { get; set; }
Property Value
CornerWidth
Gets or sets the corner width.
public double CornerWidth { get; set; }
Property Value
LowerRightX
Gets or sets the lower right X coordinate.
public double LowerRightX { get; set; }
Property Value
LowerRightY
Gets or sets the lower right 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; }