rotatePoint() function
Rotate a point around some origin.
Signature:
declare function rotatePoint(point: Point, angle: number, origin?: Point): Point;
Parameters
Parameter |
Type |
Description |
---|---|---|
point | ||
angle |
number | |
origin |
(Optional) |
Remarks
Used to modify a point during "move" operations when the modifier is rotated.