Size constructor

init

Initializes a new instance of the Size class.

def __init__(self, width, height):
    ...
Parameter Type Description
width float The width in pixels.
height float The height in pixels.

See Also