ASP.NET Pack Programmer's Guide
Rect Members
Constructors Properties Methods
 


A class representing a rectangular are on the map.

The following tables list the members exposed by the Rect type.

 Public Constructors

  Name Description

Rect

Overloaded.  

 Public Properties

  Name Description

Height

Gets the rectangle height.

Width

Gets the rectangle width.

XMax

Gets or set the maximum X value.

XMin

Gets or set the minimum X value.

YMax

Gets or set the maximum Y value.

YMin

Gets or set the minimum Y value.

 Public Methods

  Name Description

Clone

Returns a copy of this rectangle.

ContainsPoint

Overloaded.  

Divide

Divides this rectangle into four equal parts.

GetCenter

Returns the rectangle center.

GetLocation

Returns the min X/Y corner of this rectangle.

Intersect

Returns the intersection of this rectangle with the specified rectangle.

Intersects

Tests whether this rectangle intersects with the specified rectangle.

Offset

Moves this rectangle by specified offset.

SaveTo

Saves the rectangle to the specified stream.

SetCenter

Moves this rectangle so that its center coincides with specified point.

Union

Returns the union of two rectangles.

 See Also

Rect Class
MindFusion.Mapping Namespace