A Text Padding configuration object as used by the Text Style.
name | type | arguments | description |
---|---|---|---|
x | number | <optional> |
If set this value is used for both the left and right padding. |
y | number | <optional> |
If set this value is used for both the top and bottom padding. |
left | number | <optional> |
The amount of padding added to the left of the Text object. |
right | number | <optional> |
The amount of padding added to the right of the Text object. |
top | number | <optional> |
The amount of padding added to the top of the Text object. |
bottom | number | <optional> |
The amount of padding added to the bottom of the Text object. |