Struct CgmRectangle

CgmRectangle structure

public struct CgmRectangle

Constructors

NameDescription
CgmRectangle(double, double, double, double)

Properties

NameDescription
Height { get; }
IsEmpty { get; }Tests whether the Width or Height property of this CgmRectangle has a value of zero.
Width { get; }
X { get; }
Y { get; }

Methods

NameDescription
static FromPoints(CgmPoint, CgmPoint, CgmPoint, CgmPoint)Create a rectangle from the rectangle points.
Contains(CgmPoint)Determines if the specified point is contained within this rectangle.
Contains(CgmPoint, double)Determines if the specified point is contained within this rectangle.
Contains(double, double)Determines if the specified point is contained within this rectangle.
Contains(double, double, double)Determines if the specified point is contained within this rectangle.

Fields

NameDescription
static readonly EmptyRepresents an instance of the CGMRectangle class with its members uninitialized.

See Also