MCPcopy
hub / github.com/OpenCut-app/OpenCut / GraphicDefinition

Interface GraphicDefinition

apps/web/src/lib/graphics/types.ts:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12export interface GraphicDefinition {
13 id: string;
14 name: string;
15 keywords: string[];
16 params: ParamDefinition[];
17 render(context: GraphicRenderContext): void;
18}
19
20export interface GraphicInstance {
21 definitionId: string;

Callers 4

buildGraphicPreviewUrlFunction · 0.65
exportMethod · 0.65
renderMethod · 0.65
getSourceMethod · 0.65

Implementers 2

CanvasRendererapps/web/src/services/renderer/canvas-
WasmCompositorapps/web/src/services/renderer/composi

Calls

no outgoing calls

Tested by

no test coverage detected