transform_bounds


Description:

public Rect transform_bounds (Rect rect)

Transforms a rectangle using the given transform.

The result is the bounding box containing the coplanar quad.

Parameters:

this

a transform

rect

the rectangle to transform

out_rect

return location for the bounds of the transformed rectangle