Rect.normalizeR

Normalizes the passed rectangle.

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

class Rect
void
normalizeR
(
out Rect res
)

Parameters

res Rect

the return location for the normalized rectangle

Meta