Padding constructor

Contents
[ ]

init

Initializes a new instance of Padding class using zero values.

def __init__(self):
    ...

init

Initializes a new instance of the Padding class using the supplied padding size for all edges.

def __init__(self, all):
    ...
Parameter Type Description
all int The number of measure units to be used for padding for all edges.

init

Initializes a new instance of the Padding class using the supplied padding sizes.

def __init__(self, left, right, top, bottom):
    ...
Parameter Type Description
left int The left padding size.
right int The right padding size.
top int The top padding size.
bottom int The bottom padding size.

See Also