UNPKG

@nmmty/lazycanvas

Version:

A simple way to interact with @napi-rs/canvas in an advanced way!

19 lines (17 loc) 381 B
import { ScaleType } from "../types"; import { LayerType } from "../enum"; export interface IClearLayer { id: string; type: LayerType; zIndex: number; visible: boolean; props: IClearLayerProps; } export interface IClearLayerProps { x: ScaleType; y: ScaleType; size: { width: ScaleType; height: ScaleType; }; }