|
@@ -21,9 +21,9 @@ class TestView222 extends SCanvasView {
|
|
|
super('pathCanvas');
|
|
|
this.path = new SPath();
|
|
|
// @ts-ignore
|
|
|
- this.path.polygon([{x: 700, y: 150}, {x: 0, y: 150}, {x: 0, y: 0}]);
|
|
|
+ this.path.polygon([{x: 0, y: 0}, {x: 0, y: 200}, {x: 200, y: 200}, {x: 200, y: 0}]);
|
|
|
// @ts-ignore
|
|
|
- this.path.polygon([{x: 100, y: 100}, {x: 100, y: 200}, {x: 200, y: 200}]);
|
|
|
+ this.path.polygon([{x: 150, y: 150},{x: 250, y: 150}, {x: 250, y: 250}, {x: 150, y: 250} ]);
|
|
|
// this.path.polygon([{x:0,y:0},{x:0,y:150},{x:700,y:150}]);
|
|
|
// this.path.polygon([{x:200,y:200},{x:100,y:200},{x:100,y:100}]);
|
|
|
}
|