Click or drag to resize

RectExtensions Class

Rect extensions.
Inheritance Hierarchy
SystemObject
  KitRectExtensions

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static class RectExtensions
Request Example View Source

The RectExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBottomLeft
Returns the bottom-left point of a Rect.
Public methodStatic memberBottomRight
Returns the bottom-right point of a Rect.
Public methodStatic memberDistance
Returns the distance of the rect from a point.
Public methodStatic memberSqrDistance
Returns the squared distance of the rect from a point.
Public methodStatic memberTopLeft
Returns the top-left point of a Rect.
Public methodStatic memberTopRight
Returns the top-right point of a Rect.
Top
See Also

Reference