MindFusion.Wpf 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. Initializes a new instance of the Rect class.

 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

ContainsPoint

Overloaded. Tests whether this rectangle contains a point.

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.

SaveTo

Saves the rectangle to the specified stream.

Union

Returns the union of two rectangles.

 See Also

Rect Class
MindFusion.Mapping Namespace