Defines a rectangle shape. More...
Public Member Functions | |
Rectangle (float x, float y, float width, float height) | |
override string | ToString () |
Obtains a string representation of the current instance. More... | |
internal int | GetChecksum () |
internal bool | OverlapsWithRect (Tobii.InteractionLib.Rectangle second) |
Checks whether or not two Tobii.InteractionLib.Rectangle overlaps. More... | |
internal bool | OverlapsWithRect (Rectangle second) |
bool | Equals (Rectangle other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
Static Public Attributes | |
static Rectangle | Empty = new Rectangle(0, 0, 0, 0) |
Properties | |
float | X [get, set] |
Gets or sets the X component of the rectangle. More... | |
float | Y [get, set] |
Gets or sets the Y component of the rectangle. More... | |
float | Width [get, set] |
Gets or sets the Width component of the rectangle. More... | |
float | Height [get, set] |
Gets or sets the Height component of the rectangle. More... | |
Defines a rectangle shape.
|
inline |
|
inline |
Obtains a string representation of the current instance.
|
inline |
|
inline |
Checks whether or not two Tobii.InteractionLib.Rectangle overlaps.
second | The rectangle to check against. |
|
inline |
|
inline |
|
inline |
|
inline |
|
getset |
Gets or sets the X component of the rectangle.
|
getset |
Gets or sets the Y component of the rectangle.
|
getset |
Gets or sets the Width component of the rectangle.
|
getset |
Gets or sets the Height component of the rectangle.