mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +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) {
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user