- Declared in: RT.Coordinates.PointD
Declaration
public PointD Rotate(
double angle,
PointD about
)
Summary
Rotates the current point by the specified
angle about the specified point.
Parameters
double | angle |
The angle in radians. |
PointD | about |
Point to rotate the current point about. |
Returns
The rotated point.
Remarks
If the point coordinates are interpreted as is common in geometry (positive Y-axis goes up), this rotation is
counter-clockwise. In SVG, where the positive Y-axis goes down, the rotation is clockwise.