Version

RectUtil Class Members

The following tables list the members exposed by RectUtil.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ContainsIndicates whether the current rectangle wholly contains the specified rectangle.  
Public Methodstatic (Shared in Visual Basic)DeflateDeflates the current rectangle  
Public Methodstatic (Shared in Visual Basic)DuplicateCreate a clone of the current rectangle  
Public Methodstatic (Shared in Visual Basic)GetAreaCalculates the area of the current rectangle.  
Public Methodstatic (Shared in Visual Basic)GetBottomLeftReturns Bottom Left point of the current rectangle  
Public Methodstatic (Shared in Visual Basic)GetBottomRightReturns Bottom Right point of the current rectangle  
Public Methodstatic (Shared in Visual Basic)GetCenterGets the center of the current rectangle  
Public Methodstatic (Shared in Visual Basic)GetCornersReturns corner points of the current rectangle  
Public Methodstatic (Shared in Visual Basic)GetDistanceSquaredOverloaded. Calculates the square of the distance from the current rectangle to the specified point.  
Public Methodstatic (Shared in Visual Basic)GetInflatedExpands 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.  
Public Methodstatic (Shared in Visual Basic)GetLeaderGets the attachment point on the current rectangle for the leader line to the specified anchor.  
Public Methodstatic (Shared in Visual Basic)GetTopLeftReturns Top Left point of the current rectangle  
Public Methodstatic (Shared in Visual Basic)GetTopRightReturns Top Right point of the current rectangle  
Public Methodstatic (Shared in Visual Basic)InflateOverloaded. Inflates the current rectangle  
Public Methodstatic (Shared in Visual Basic)InflateByOverloaded. Inflates the current rectangle  
Public Methodstatic (Shared in Visual Basic)IntersectionAreaCalculates the area of intersection between the specified rectangle and the current rectangle  
Public Methodstatic (Shared in Visual Basic)IntersectsWithIndicates whether the specified rectangle intersects with the current rectangle.  
Public Methodstatic (Shared in Visual Basic)IsNullDetermines whether the current rectangle is null.  
Public Methodstatic (Shared in Visual Basic)NormalizeOverloaded. Normalize current rectangle to dimensions of other rectangle  
Public Methodstatic (Shared in Visual Basic)RotateAboutCenterReturns bounds of rotated rectangle around center of the current rectangle  
Public Methodstatic (Shared in Visual Basic)RotateAboutPointReturns bounds of rotated rectangle around specified point  
Public Methodstatic (Shared in Visual Basic)RoundRounds the current rectangle  
Public Methodstatic (Shared in Visual Basic)SizeReturns size dimensions of the current rectangle  
See Also