17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
import type { Transform } from "./geometry";
|
|
import type { LayerId } from "./id";
|
|
|
|
export type LayerClippingMask = {
|
|
maskLayerId: LayerId;
|
|
};
|
|
|
|
export type BaseLayer = {
|
|
id: LayerId;
|
|
name: string;
|
|
visible: boolean;
|
|
locked: boolean;
|
|
opacity: number;
|
|
transform: Transform;
|
|
clippingMask?: LayerClippingMask;
|
|
};
|