Struct Thickness
- Namespace
- Forma
- Assembly
- Forma.dll
Margins, padding and separation values used by UI controls.
public readonly struct Thickness : IEquatable<Thickness>
- Implements
- Inherited Members
Constructors
Thickness(float)
public Thickness(float uniform)
Parameters
uniformfloat
Thickness(float, float, float, float)
public Thickness(float left, float top, float right, float bottom)
Parameters
Properties
Bottom
public float Bottom { get; }
Property Value
Horizontal
public float Horizontal { get; }
Property Value
Left
public float Left { get; }
Property Value
Right
public float Right { get; }
Property Value
Top
public float Top { get; }
Property Value
Vertical
public float Vertical { get; }
Property Value
Zero
public static Thickness Zero { get; }
Property Value
Methods
Equals(Thickness)
public bool Equals(Thickness other)
Parameters
otherThickness
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(Thickness, Thickness)
public static bool operator ==(Thickness left, Thickness right)
Parameters
Returns
operator !=(Thickness, Thickness)
public static bool operator !=(Thickness left, Thickness right)