toIRect

fnIRect toIRect(Rect rect)

Converts a Rect to an IRect by truncating position and size components to integers.