0
0
mirror of https://github.com/Doodle3D/Doodle3D-Core.git synced 2025-05-10 17:33:21 +02:00

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

(image error) Size: 18 KiB

After

(image error) Size: 1.7 KiB

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