Constructors
Declaration
public uiRect(float left, float top, float right, float bottom)
Parameters
Fields
Declaration
public readonly float bottom
Field Value
Declaration
public readonly float left
Field Value
Declaration
public readonly float right
Field Value
Declaration
public readonly float top
Field Value
Properties
Declaration
public float area { get; }
Property Value
Declaration
public uiOffset bottomCenter { get; }
Property Value
Declaration
public uiOffset bottomLeft { get; }
Property Value
Declaration
public uiOffset bottomRight { get; }
Property Value
Declaration
public uiOffset center { get; }
Property Value
Declaration
public uiOffset centerLeft { get; }
Property Value
Declaration
public uiOffset centerRight { get; }
Property Value
Declaration
public float height { get; }
Property Value
Declaration
public bool isEmpty { get; }
Property Value
Declaration
public float margin { get; }
Property Value
Declaration
public uiOffset topCenter { get; }
Property Value
Declaration
public uiOffset topLeft { get; }
Property Value
Declaration
public uiOffset topRight { get; }
Property Value
Declaration
public float width { get; }
Property Value
Methods
Declaration
public uiRect expandToInclude(uiRect? other)
Parameters
Returns
Declaration
public uiRect intersect(uiRect other)
Parameters
Type |
Name |
Description |
uiRect |
other |
|
Returns
Declaration
public uiRect shift(uiOffset offset)
Parameters
Returns