LayoutPadding
Inner padding and spacing (6 values).
Constructors:
LayoutPadding(): all float- Set all values to the one specified.
LayoutPadding(): horizontal float, vertical float- Set
left = xgap = right = horizontalandtop = ygap = bottom = vertical.
- Set
LayoutPadding(): left float, xgap float, right float, top float, ygap float, bottom float- Specify all the values.
LayoutPadding(): padding Padding, spacing Vector2- Combine
padding(4 floats - around the content) andspacing(2D vector, between elements).
- Combine
Instance Fields:
left: float - Padding on the left side.xgap: float - Horizontal spacing between elements.right: float - Padding on the right side.top: float - Padding above the content.ygap: float - Vertical spacing between elements.bottom: float - Padding below the content.
Instance Properties:
All: float - One value for all (if same or setting),NaNif not.Horizontal: float - Value ofleft,xgapandrightif same,NaNif not.Vertical: float - value oftop,ygapandbottomif same,NaNif not.Padding: Padding - The padding (left, right, top, bottom).Spacing: Vector2 - The spacing (xgap, ygap).