[]
Represents a rectangle-like closed path.
public class RectangularFigure : IFigure
Initializes a new instance of the RectangularFigure class.
public RectangularFigure(PointF topLeft, PointF bottomRight)
topLeft
System.Drawing.PointFbottomRight
System.Drawing.PointFInitializes a new instance of the RectangularFigure class.
public RectangularFigure(RectangleF bounds)
bounds
System.Drawing.RectangleFInitializes a new instance of the RectangularFigure class.
public RectangularFigure(float x, float y, float width, float height)
x
floaty
floatwidth
floatheight
floatGets or sets the rectangular region coordinates.
public RectangleF Bounds { get; set; }
Gets or sets a value specifying whether orientation of four points is counterclockwise.
public bool Counterclockwise { get; set; }
Gets or sets the transformation matrix.
public Matrix3x2 Transform { get; set; }
Creates a copy of the current figure.
public IFigure Clone()