transform_bounds


Description:

[ Version ( since = "1.0" ) ]
public Rect transform_bounds (Rect r)

Transforms each corner of a Rect using the given matrix this.

The result is the axis aligned bounding rectangle containing the coplanar quadrilateral.

See also: transform_point

Parameters:

this

a Matrix

r

a Rect

res

return location for the bounds of the transformed rectangle