change hole pattern and added hole border

This commit is contained in:
Rick Companje 2017-11-22 22:37:16 +00:00
parent 171c0445e8
commit 2a7625218f
2 changed files with 5 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -108,6 +108,11 @@ export default class Shape extends Matrix {
if (!this._shapeData.solid) { if (!this._shapeData.solid) {
context.fillStyle = holePatern; context.fillStyle = holePatern;
context.fill(); context.fill();
context.strokeStyle = 'black'; //'#888888';
context.lineWidth = lineWidth / 2.0;
context.stroke();
} else if (this._shapeData.fill) { } else if (this._shapeData.fill) {
context.fillStyle = this.color; context.fillStyle = this.color;
context.fill(); context.fill();