mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-04 21:53:24 +01:00
change hole pattern and added hole border
This commit is contained in:
parent
171c0445e8
commit
2a7625218f
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | 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();
|
||||
|
Loading…
Reference in New Issue
Block a user