|
@@ -953,9 +953,10 @@ export default class Draw {
|
|
|
}
|
|
|
|
|
|
this.context.translate(geometry.center.x,geometry.center.y)
|
|
|
-
|
|
|
- this.context.translate(17, 30)
|
|
|
+ this.context.translate(16, 36)
|
|
|
this.context.rotate((geometry.angle)/180 * Math.PI)
|
|
|
+ this.context.translate(-16, -36)
|
|
|
+
|
|
|
//this.context.translate(18,26)
|
|
|
this.context.lineWidth = 1
|
|
|
this.context.miterLimit=4;
|
|
@@ -1035,14 +1036,6 @@ export default class Draw {
|
|
|
this.context.fill();
|
|
|
this.context.stroke();
|
|
|
|
|
|
- this.context.translate(-17, -30)
|
|
|
- this.context.restore();
|
|
|
-
|
|
|
- this.context.save();
|
|
|
- this.context.beginPath()
|
|
|
- this.context.arc(geometry.center.x+17,geometry.center.y+30, 2, 0, Math.PI * 2, true)
|
|
|
- this.context.stroke()
|
|
|
- this.context.fill()
|
|
|
this.context.restore();
|
|
|
}
|
|
|
|