UNPKG

fabric

Version:

Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.

12 lines 531 B
import type { Point } from '../../Point'; import type { TRadian } from '../../typedefs'; /** * Rotates `point` around `origin` with `radians` * @deprecated use the Point.rotate * @param {Point} origin The origin of the rotation * @param {Point} origin The origin of the rotation * @param {TRadian} radians The radians of the angle for the rotation * @return {Point} The new rotated point */ export declare const rotatePoint: (point: Point, origin: Point, radians: TRadian) => Point; //# sourceMappingURL=rotatePoint.d.ts.map