Interface

Padding

Padding

Properties:
Name Type Description
top number

Padding for the top, in pixels.

bottom number

Padding for the bottom, in pixels.

left number

Padding for the left, in pixels.

right number

Padding for the right, in pixels.

Example

{ top: 50, bottom: 150, left: 50, right: 50 }