Struct LayoutLength
- Namespace
- Forma
- Assembly
- Forma.dll
public readonly struct LayoutLength : IEquatable<LayoutLength>
- Implements
-
- Inherited Members
-
Properties
public static LayoutLength Auto { get; }
Property Value
- LayoutLength
Content
public static LayoutLength Content { get; }
Property Value
- LayoutLength
public LayoutLengthUnit Unit { get; }
Property Value
- LayoutLengthUnit
public float Value { get; }
Property Value
- float
Methods
public bool Equals(LayoutLength other)
Parameters
other LayoutLength
Returns
- bool
public override bool Equals(object obj)
Parameters
obj object
Returns
- bool
public override int GetHashCode()
Returns
- int
public static LayoutLength Percent(float value)
Parameters
value float
Returns
- LayoutLength
public static LayoutLength Pixels(float value)
Parameters
value float
Returns
- LayoutLength
public float Resolve(float available, float content)
Parameters
available float
content float
Returns
- float
public static LayoutLength Star(float value = 1)
Parameters
value float
Returns
- LayoutLength
Operators
public static bool operator ==(LayoutLength left, LayoutLength right)
Parameters
left LayoutLength
right LayoutLength
Returns
- bool
public static bool operator !=(LayoutLength left, LayoutLength right)
Parameters
left LayoutLength
right LayoutLength
Returns
- bool