Size
A 2D size with width and height.
Properties
Methods
-
copy–Returns a copy of this object with the specified properties overridden.
-
from_height–Creates a
Sizewith the givenheight -
from_radius–Creates a square
Sizewhosewidthand -
from_width–Creates a
Sizewith the givenwidth -
infinite–Creates a
Sizewhosewidthand -
is_finite–Checks if both dimensions are finite.
-
is_infinite–Checks if either dimension is infinite.
-
square–Creates a square
Sizewherewidth -
zero–