Padding
Element’s inner padding (4 values).
Constructors:
Padding()
: all float- Set all values to the one specified.
Padding()
: horizontal float, vertical float- Set
left = right = horizontal
andtop = bottom = vertical
.
- Set
Padding()
: left float, right float, top float, bottom float- Specify all the values.
Instance Fields:
left
: float - Padding on the left side.right
: float - Padding on the right side.top
: float - Padding above the content.bottom
: float - Padding below the content.
Instance Properties:
All
: float - One value for all (if same or setting),NaN
if not.Horizontal
: float - Value ofleft
andright
if same,NaN
if not.Vertical
: float - value oftop
andbottom
if same,NaN
if not.