@gorpacrate/core-graphics
Version:
A core library for creating shape-based graphic editors
9 lines (8 loc) • 386 B
TypeScript
import { IPoint, IRubberBandState, IShapeData, IShapesDeclarations } from '../declarations';
export declare function getShapesSelectedWithRubberBand(payload: {
pStart: IPoint;
pEnd: IPoint;
shapesData: IShapeData[];
shapesDeclarations: IShapesDeclarations;
}): string[];
export declare function getResultingRubberBandSelectedShapes(payload: IRubberBandState): string[];