Affine |
Rotate.
Rotations are produced by [cos(a) sin(a) -sin(a) cos(a) 0 0], which has the effect of rotating the coordinate system axes by an angle "a" in counterclockwise direction around the origin.
If the given center is not , then the rotation is performed around the given center point, which is equivalent to the following sequence:
public void Rotate( double angle, Point? center )
Exception | Condition |
---|---|
InvalidOperationException | If the affine transform is singular, e.g. default initialized. (Use Identity as an initial value.) |