roundToPixel

Rounds the origin and the size of the given rectangle to their nearest integer values; the rounding is guaranteed to be large enough to contain the original rectangle.

Return

the pixel-aligned rectangle.

Since

1.0