feat: add crop and canvas resize workflows
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import type { BaseLayer } from "./base-layer";
|
||||
import type { AssetId } from "./id";
|
||||
import type { Rect } from "./geometry";
|
||||
|
||||
export type ImageLayer = BaseLayer & {
|
||||
type: "image";
|
||||
assetId: AssetId;
|
||||
/** Non-destructive source pixels displayed by this layer. Absence means the full asset. */
|
||||
sourceRect?: Rect;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user