You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

Rectangle Members

The Rectangle type exposes the following members.

Constructors

Name Description
Public method Rectangle

Methods

Name Description
Public method clone

Clones rectangle.

Public method contains

Determines if the specified point is contained within the rectangular region defined by this Rectangle.

Public method equals

Determines whether the specified rectangle equals to this Rectangle.

Public method intersect

Calculates intersection of two rectangles.

Public method intersectsWith

Determines if this Rectangle intersects with rect.

Public method round

Rounds all parameters: x, y, width, and height; and returns new Rectangle object.

Fields

Name Description
Public field height

The rectangle height.

Public field width

The rectangle width.

Public field x

The x-coordinate of the upper-left corner.

Public field y

The y-coordinate of the upper-left corner.

See Also

Reference