[]
Represents a rounded rectangle-like closed path.
public class RoundRectFigure : IFigure
Initializes a new instance of the RoundRectFigure class.
public RoundRectFigure(RectangleF bounds, float radiusX, float radiusY)
bounds
System.Drawing.RectangleFradiusX
floatradiusY
floatInitializes a new instance of the RoundRectFigure class.
public RoundRectFigure(RectangleF bounds, float radius)
bounds
System.Drawing.RectangleFradius
floatInitializes a new instance of the RoundRectFigure class.
public RoundRectFigure(float x, float y, float width, float height, float radiusX, float radiusY)
x
floaty
floatwidth
floatheight
floatradiusX
floatradiusY
floatInitializes a new instance of the RoundRectFigure class.
public RoundRectFigure(float x, float y, float width, float height, float radius)
x
floaty
floatwidth
floatheight
floatradius
floatGets or sets the bounds for the rounded rectangle.
public RectangleF Bounds { get; set; }
Gets or sets a value indicating if the points should be arranged counterclockwise.
public bool Counterclockwise { get; set; }
Gets or sets the x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
public float RadiusX { get; set; }
Gets or sets the y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
public float RadiusY { get; set; }
Gets or sets the transformation matrix.
public Matrix3x2 Transform { get; set; }
Creates a copy of the current figure.
public IFigure Clone()