import type { CanvasElement, Line } from "@hylimo/diagram-common"; import { Bounds, Point } from "@hylimo/diagram-common"; import type { LinearAnimatable } from "../../features/animation/model.js"; import type { PositionProvider } from "../../features/layout/positionProvider.js"; import { SCanvasContent } from "./sCanvasContent.js"; import type { BoxSelectable } from "../../features/select/boxSelectFeature.js"; /** * Model for CanvasElement */ export declare class SCanvasElement extends SCanvasContent implements CanvasElement, PositionProvider, LinearAnimatable, BoxSelectable { type: typeof CanvasElement.TYPE; /** * The width of the element */ width: number; /** * The height of the element */ height: number; /** * The x offset */ dx: number; /** * The y offset */ dy: number; readonly animatedFields: Set; /** * The id of the CanvasPoint which is used as start */ pos?: string; /** * The rotation in degrees */ rotation: number; /** * The outline of the CanvasElement */ outline: Line; /** * Position of this CanvasElement */ position: Point; /** * An expression which can be used by edits to obtain this element in an edit */ editExpression?: string; constructor(); get dependencies(): string[]; isIncluded(bounds: Bounds): boolean; } //# sourceMappingURL=sCanvasElement.d.ts.map