Skip to main content

rMove()

Rotates the cursor direction by the given angle in degrees.

Returns: Geometry

Signatures

rMove(angle: number): Geometry

Rotates the cursor direction by the given angle in degrees.

ParameterTypeDescription
anglenumberThe rotation angle in degrees

rMove(angle: number, pivot: Point2DLike): Geometry

Rotates the cursor direction by the given angle around a pivot point.

ParameterTypeDescription
anglenumberThe rotation angle in degrees
pivotPoint2DLikeThe pivot point to rotate around