Class RectOffset
Assembly: UnityEngine.dll
Syntax
[Serializable]
public class RectOffset
Constructors
|
Improve this Doc
View Source
RectOffset()
Declaration
|
Improve this Doc
View Source
RectOffset(Int32, Int32, Int32, Int32)
Declaration
public RectOffset(int left, int right, int top, int bottom)
Parameters
Properties
bottom
Declaration
public int bottom { get; set; }
Property Value
horizontal
Declaration
public int horizontal { get; }
Property Value
left
Declaration
public int left { get; set; }
Property Value
right
Declaration
public int right { get; set; }
Property Value
top
Declaration
public int top { get; set; }
Property Value
vertical
Declaration
public int vertical { get; }
Property Value
Methods
Add(Rect)
Declaration
public Rect Add(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
Remove(Rect)
Declaration
public Rect Remove(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Extension Methods