Skip to content

Interface: LayerState ​

Defined in: serialization/ViewerState.ts:53

Indexable ​

ts
[key: string]: unknown

Properties ​

id ​

ts
id: string;

Defined in: serialization/ViewerState.ts:54


type ​

ts
type: string;

Defined in: serialization/ViewerState.ts:55


visible ​

ts
visible: boolean;

Defined in: serialization/ViewerState.ts:56


opacity ​

ts
opacity: number;

Defined in: serialization/ViewerState.ts:57


blendMode ​

ts
blendMode: string;

Defined in: serialization/ViewerState.ts:58


order? ​

ts
optional order?: number;

Defined in: serialization/ViewerState.ts:60

Legacy initialization order. ViewerState v2 uses SurfaceState.layerOrder.

Released under the MIT License.