The following tables list the members exposed by RectUtil.
Name | Description | |
---|---|---|
Contains | Indicates whether the current rectangle wholly contains the specified rectangle. | |
Deflate | Deflates the current rectangle | |
Duplicate | Create a clone of the current rectangle | |
GetArea | Calculates the area of the current rectangle. | |
GetBottomLeft | Returns Bottom Left point of the current rectangle | |
GetBottomRight | Returns Bottom Right point of the current rectangle | |
GetCenter | Gets the center of the current rectangle | |
GetCorners | Returns corner points of the current rectangle | |
GetDistanceSquared | Overloaded. Calculates the square of the distance from the current rectangle to the specified point. | |
GetInflated | Expands or shrinks the current rectangle by using the specified width and height amounts, in all directions. The size and position of the current rectangle are not changed. | |
GetLeader | Gets the attachment point on the current rectangle for the leader line to the specified anchor. | |
GetTopLeft | Returns Top Left point of the current rectangle | |
GetTopRight | Returns Top Right point of the current rectangle | |
Inflate | Overloaded. Inflates the current rectangle | |
InflateBy | Overloaded. Inflates the current rectangle | |
IntersectionArea | Calculates the area of intersection between the specified rectangle and the current rectangle | |
IntersectsWith | Indicates whether the specified rectangle intersects with the current rectangle. | |
IsNull | Determines whether the current rectangle is null. | |
Normalize | Overloaded. Normalize current rectangle to dimensions of other rectangle | |
RotateAboutCenter | Returns bounds of rotated rectangle around center of the current rectangle | |
RotateAboutPoint | Returns bounds of rotated rectangle around specified point | |
Round | Rounds the current rectangle | |
Size | Returns size dimensions of the current rectangle |