fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
20 lines • 499 B
TypeScript
import type { FabricObject, Point } from 'fabric';
type CollectPointProps = {
activeObject: FabricObject;
point: Point;
list: Point[];
isScale: boolean;
index: number;
};
export declare function collectVerticalPoint(props: CollectPointProps): {
x: number;
y1: number;
y2: number;
}[];
export declare function collectHorizontalPoint(props: CollectPointProps): {
y: number;
x1: number;
x2: number;
}[];
export {};
//# sourceMappingURL=collect-point.d.ts.map