<< Click to Display Table of Contents >> NShape Reference
|
Retrieves an axis-aligned bounding box for the shape.
public abstract Rectangle GetBoundingRectangle(bool tight); |
Calculates a rectangle that encloses the shape closely. The edges of the rectangle are parallel to the coordinate axis.
Name |
Description |
---|---|
tight |
If true, the bounding rectangle includes the control points. If false, it encloses the shape itself closely. |
Bounding rectangle of the the shape.
None