You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

Rectangle Methods

Applies to: Graphics Mill Web Controls · Archived documentation

The Rectangle type exposes the following members.

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.

See Also

Reference