diff --git a/apps/demo/src/plugin-demos/canvas.ts b/apps/demo/src/plugin-demos/canvas.ts index 9d58ab4b..7d298f59 100644 --- a/apps/demo/src/plugin-demos/canvas.ts +++ b/apps/demo/src/plugin-demos/canvas.ts @@ -70,6 +70,15 @@ export class DemoModel extends DemoSharedCanvas { { x: 128, y: 0 }, ]; + start = { x: 0, y: 0 }; + end = { x: 256, y: 256 }; + + + start1 = { x: 128, y: 128 }; + end1 = { x: 128, y: 16 }; + + colors = ['blue', 'yellow']; + image = new ImageAsset(); width = 256; diff --git a/apps/demo/src/plugin-demos/canvas.xml b/apps/demo/src/plugin-demos/canvas.xml index ed35cd2c..dcc19bd1 100644 --- a/apps/demo/src/plugin-demos/canvas.xml +++ b/apps/demo/src/plugin-demos/canvas.xml @@ -6,7 +6,7 @@ - + - + + + + + - + - +