[]
Applies the rotation transformation.
public Matrix Rotate(double radians)
| Type | Name | Description |
|---|---|---|
| double | radians | Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis. |
| Type | Description |
|---|---|
| Matrix | The rotated matrix. |
Applies the rotation transformation.
public Matrix Rotate(double radians, PointF centerPoint)
| Type | Name | Description |
|---|---|---|
| double | radians | Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis. |
| PointF | centerPoint | The center offset. |
| Type | Description |
|---|---|
| Matrix | The rotated matrix. |
Applies the rotation transformation.
public Matrix Rotate(double radians, double cx, double cy)
| Type | Name | Description |
|---|---|---|
| double | radians | Angle of rotation, in radians. Angles are measured clockwise when looking along the rotation axis. |
| double | cx | X-coordinate of the center offset. |
| double | cy | Y-coordinate of the center offset. |
| Type | Description |
|---|---|
| Matrix | The rotated matrix. |