Skip to content

rotate

rotate(point, angle, center): number[]

Returns a point rotated as a given degree based on the center point

Parameters

point: number[]

angle: number

center: number[]= undefined

Returns

number[]

Source

graphics/geometry.ts:678