UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

10 lines 423 B
import type { Point } from '../utils/geometry/points.js'; /** * Rotate a point around a center by a given angle. * @param point - The point to rotate * @param rotationCenter - The center of rotation * @param angle - The angle of rotation in radians * @returns The rotated point */ export declare function rotatePoint(point: Point, rotationCenter: Point, angle: number): Point; //# sourceMappingURL=operations.d.ts.map