Rect.normalize

Normalizes the passed rectangle.

This function ensures that the size of the rectangle is made of positive values, and that the origin is the top-left corner of the rectangle.

class Rect
normalize
()

Return Value

Type: Rect

the normalized rectangle

Meta