SizeF constructor

init

Constructs a new instance of SizeF

def __init__(self):
    ...

init

Initializes a new instance of the SizeF structure from the specified existing SizeF structure.

def __init__(self, size):
    ...
ParameterTypeDescription
sizeSizeFThe SizeF structure from which to create the new SizeF structure.

init

Initializes a new instance of the SizeF structure from the specified dimensions.

def __init__(self, width, height):
    ...
ParameterTypeDescription
widthfloatThe width component of the new SizeF structure.
heightfloatThe height component of the new SizeF structure.

See Also