Size
Size
#
A 2D size with width and height.
copy_with
#
Returns a copy of this object with the specified properties overridden.
from_height
#
Creates a Size with the given height and an infinite width.
from_radius
#
Creates a square Size whose width and height are twice the given radius.
from_width
#
Creates a Size with the given width and an infinite height.
square
#
Creates a square Size where width and height are the same.