Adjusts the sides of a rectangle to integer values.
- macOS 10.0+
- Mac Catalyst 13.0+
A copy of
a, expanded outward just enough to ensure that none of its four defining values (x, y, width, and height) have fractional parts. If the width or height of
0 or negative, this function returns a rectangle with origin at (0.0, 0.0) and with zero width and height.