Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: PointD RotateDeg(double)

  • Declared in: RT.Coordinates.PointD

Declaration

public PointD RotateDeg(
    double angle
)

Summary

Rotates the current point by the specified angle about the origin.

Parameters

doubleangle The angle in degrees.

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.