transform_rect


Description:

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

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

The result is a coplanar quadrilateral.

See also: transform_point

Parameters:

this

a Matrix

r

a Rect

res

return location for the transformed quad