Margin constructor

init

Initializes a new instance of the Margin class.

def __init__(self):
    ...

init

Initializes a new instance of the Margin class.

def __init__(self, any_margin):
    ...
ParameterTypeDescription
any_marginintAny margin size.

init

Initializes a new instance of the Margin class.

def __init__(self, any_margin):
    ...
ParameterTypeDescription
any_marginLengthAny margin size.

init

Initializes a new instance of the Margin class.

def __init__(self, left, top, right, bottom):
    ...
ParameterTypeDescription
leftintThe left size.
topintThe top size.
rightintThe right size.
bottomintThe bottom size.

init

Initializes a new instance of the Margin class.

def __init__(self, left, top, right, bottom):
    ...
ParameterTypeDescription
leftLengthThe left size.
topLengthThe top size.
rightLengthThe right size.
bottomLengthThe bottom size.

See Also