Struct TMP_Offset
Namespace: TMPro
Syntax
Constructors
TMP_Offset(Single, Single)
Declaration
public TMP_Offset(float horizontal, float vertical)
Parameters
TMP_Offset(Single, Single, Single, Single)
Declaration
public TMP_Offset(float left, float right, float top, float bottom)
Parameters
Properties
bottom
Declaration
public float bottom { get; set; }
Property Value
horizontal
Declaration
public float horizontal { get; set; }
Property Value
left
Declaration
public float left { get; set; }
Property Value
right
Declaration
public float right { get; set; }
Property Value
top
Declaration
public float top { get; set; }
Property Value
vertical
Declaration
public float vertical { get; set; }
Property Value
zero
Declaration
public static readonly TMP_Offset zero { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(TMP_Offset)
Declaration
public bool Equals(TMP_Offset other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
Equality(TMP_Offset, TMP_Offset)
Declaration
public static bool operator ==(TMP_Offset lhs, TMP_Offset rhs)
Parameters
Returns
Inequality(TMP_Offset, TMP_Offset)
Declaration
public static bool operator !=(TMP_Offset lhs, TMP_Offset rhs)
Parameters
Returns
Multiply(TMP_Offset, Single)
Declaration
public static TMP_Offset operator *(TMP_Offset a, float b)
Parameters
Returns