Skip to content

Interface: LayerState ​

Defined in: serialization/ViewerState.ts:54

Indexable ​

ts
[key: string]: unknown

Properties ​

id ​

ts
id: string;

Defined in: serialization/ViewerState.ts:55


type ​

ts
type: string;

Defined in: serialization/ViewerState.ts:56


visible ​

ts
visible: boolean;

Defined in: serialization/ViewerState.ts:57


opacity ​

ts
opacity: number;

Defined in: serialization/ViewerState.ts:58


blendMode ​

ts
blendMode: string;

Defined in: serialization/ViewerState.ts:59


order? ​

ts
order?: number;

Defined in: serialization/ViewerState.ts:61

Legacy initialization order. ViewerState v2 uses SurfaceState.layerOrder.


thresholdFade? ​

ts
thresholdFade?: ThresholdFade | null;

Defined in: serialization/ViewerState.ts:62

Released under the MIT License.