Corners constructor

Contents
[ ]

init

Initializes a new instance of Corners class using zero values.

def __init__(self):
    ...

init

Initializes a new instance of the Corners class using the supplied value for all corners.

def __init__(self, all):
    ...
Parameter Type Description
all float The value to be used for padding for all corners.

init

Initializes a new instance of the Corners class using the supplied values.

def __init__(self, top_left, top_right, bottom_left, bottom_right):
    ...
Parameter Type Description
top_left float Top left corner value.
top_right float Top right corner value.
bottom_left float Bottom left corner value.
bottom_right float Bottom right corner value.

See Also