mirror of
https://forge.murkfall.net/bluesaxman/blue.js.git
synced 2026-03-13 01:24:20 -06:00
this. added to some referenses to dimentions in shape
This commit is contained in:
@@ -57,7 +57,7 @@ class shape {
|
||||
ctx.strokeRect(origin.d[0],origin.d[1],this.dimentions.d[0],this.dimentions.d[1]);
|
||||
} else if ("elipse" == this.type) {
|
||||
ctx.beginPath();
|
||||
ctx.ellipse(center.d[0],center.d[1],dimentions.d[0]/2,dimentions.d[1]/2,0,0,360);
|
||||
ctx.ellipse(center.d[0],center.d[1],this.dimentions.d[0]/2,this.dimentions.d[1]/2,0,0,360);
|
||||
ctx.stroke();
|
||||
ctx.fill();
|
||||
} else if ("image" == this.type) {
|
||||
|
||||
Reference in New Issue
Block a user