Struct Thickness
- Namespace
- Lime
- Assembly
- Lime.dll
public struct Thickness
- Inherited Members
Constructors
Thickness(float)
public Thickness(float overall)
Parameters
overall
float
Thickness(float, float)
public Thickness(float horizontal, float vertical)
Parameters
Thickness(float, float, float, float)
public Thickness(float left = 0, float right = 0, float top = 0, float bottom = 0)
Parameters
Fields
Bottom
[YuzuMember("3")]
public float Bottom
Field Value
Left
[YuzuMember("0")]
public float Left
Field Value
Right
[YuzuMember("1")]
public float Right
Field Value
Top
[YuzuMember("2")]
public float Top
Field Value
Zero
public static Thickness Zero
Field Value
Properties
LeftTop
public Vector2 LeftTop { get; set; }
Property Value
RightBottom
public Vector2 RightBottom { get; set; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(Thickness, Thickness)
public static Thickness operator +(Thickness lhs, Thickness rhs)
Parameters
Returns
operator +(Vector2, Thickness)
public static Vector2 operator +(Vector2 size, Thickness padding)
Parameters
Returns
operator ==(Thickness, Thickness)
public static bool operator ==(Thickness lhs, Thickness rhs)
Parameters
Returns
operator !=(Thickness, Thickness)
public static bool operator !=(Thickness lhs, Thickness rhs)
Parameters
Returns
operator -(Thickness, Thickness)
public static Thickness operator -(Thickness lhs, Thickness rhs)
Parameters
Returns
operator -(Vector2, Thickness)
public static Vector2 operator -(Vector2 size, Thickness padding)