- rotate(pt, amountRadian, origin?): Point
Parameters
- pt: Point
- amountRadian: number
Optional
origin: Point
- rotate(pt, amountRadian, origin?): ReadonlyArray<Point>
Parameters
- pt: readonly Point[]
- amountRadian: number
Optional
origin: Point
Returns ReadonlyArray<Point>
Rotate a single point by a given amount in radians