[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.RectangularFigure

Class RectangularFigure

Namespace
GrapeCity.Documents.Imaging
Assembly
GcDocs.Imaging.dll

Represents a rectangle-like closed path.

public class RectangularFigure : IFigure
Inheritance
object
RectangularFigure
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

RectangularFigure(PointF, PointF)

Initializes a new instance of the RectangularFigure class.

public RectangularFigure(PointF topLeft, PointF bottomRight)

Parameters

topLeft System.Drawing.PointF
bottomRight System.Drawing.PointF

RectangularFigure(RectangleF)

Initializes a new instance of the RectangularFigure class.

public RectangularFigure(RectangleF bounds)

Parameters

bounds System.Drawing.RectangleF

RectangularFigure(float, float, float, float)

Initializes a new instance of the RectangularFigure class.

public RectangularFigure(float x, float y, float width, float height)

Parameters

x float
y float
width float
height float

Properties

Bounds

Gets or sets the rectangular region coordinates.

public RectangleF Bounds { get; set; }

Property Value

System.Drawing.RectangleF

Counterclockwise

Gets or sets a value specifying whether orientation of four points is counterclockwise.

public bool Counterclockwise { get; set; }

Property Value

bool

Transform

Gets or sets the transformation matrix.

public Matrix3x2 Transform { get; set; }

Property Value

System.Numerics.Matrix3x2

Methods

Clone()

Creates a copy of the current figure.

public IFigure Clone()

Returns

IFigure