UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

26 lines (25 loc) 848 B
import { RectangleF } from "@aurigma/design-atoms-model/Math/RectangleF"; import { Layer } from "./Layer"; import { ItemHandler } from "./ItemHandlers/ItemHandler"; import { RenderingType } from "@aurigma/design-atoms-model/Product/RenderingType"; import { RgbColor } from "@aurigma/design-atoms-model"; export declare class LayerData { N: string; V: boolean; L: boolean; R: RectangleF; ID: string; VO: { T: string; D: any; }[]; RenderingType: RenderingType; TextureStorageId: string; TextureSourceWidth: number; TextureSourceHeight: number; PreviewColor: RgbColor; constructor(layerObject?: Layer, forService?: boolean); static applyState(layerData: LayerData, layerObject: Layer, objectsHash?: { [voId: string]: ItemHandler; }): void; }