LayoutPadding

References
public readonly struct LayoutPadding
Padding fields for layout.

Constructors

LayoutPadding

#
public LayoutPadding(float before, float after, float between)
Create a new layout.
before (float)
after (float)
between (float)

LayoutPadding

#
public LayoutPadding(float beforeAndAfter, float between)
Create a new layout.
beforeAndAfter (float)
between (float)

Properties

After

#
public float After { get; }
Gets the amount of space after a stack.

Before

#
public float Before { get; }
Gets the amount of space before a stack.

Between

#
public float Between { get; }
Gets the amount of space between elements.

Methods

WithAfter

#
public LayoutPadding WithAfter(float after)
Modify the after field.
after (float)

WithBefore

#
public LayoutPadding WithBefore(float before)
Modify the before field.
before (float)

WithBeforeAndAfter

#
public LayoutPadding WithBeforeAndAfter(float beforeAndAfter)
Modify the before and after fields.
beforeAndAfter (float)

WithBetween

#
public LayoutPadding WithBetween(float between)
Modify the between field.
between (float)