import { Entity } from '@lastolivegames/becsy'; export declare enum TransformableStatus { IDLE = "idle", MOVING = "moving", MOVED = "moved", RESIZING = "resizing", RESIZED = "resized", ROTATING = "rotating", ROTATED = "rotated" } /** * A camera can have one transformer which includes a mask and 4 anchors. */ export declare class Transformable { /** * Transformer for shapes has an OBB */ mask: Entity; /** * Transformer for lines */ lineMask: Entity; /** * Transformer for cropping elements */ cropMask: Entity; /** * Anchors in rectangle */ tlAnchor: Entity; trAnchor: Entity; blAnchor: Entity; brAnchor: Entity; /** * Anchors in line or arrow */ x1y1Anchor: Entity; x2y2Anchor: Entity; /** * Anchors in vector network */ controlPoints: Entity[]; /** * Selected list */ selecteds: Entity[]; status: TransformableStatus; constructor(transformable?: Partial); }