rotate
Returns a TextureOp that can be used to rotate the texture.
The matrix representing the returned texture operation is:
[ cos(radian) -sin(radian) width-width*cos+height*sin ]
[ sin(radian) cos(radian) height-width*sin-height*cos ]
[ 0 0 1 ]
Content copied to clipboard
Return
a transform that can be used to rotate the texture.
Parameters
radian
the angle of rotation measured in radians.