Draws line around every side of the object.
Line only drawn on three sides.
?
var testGraphic = new PIXI.Graphics();
testGraphic.beginFill(red).lineStyle(4, green);
testGraphic.drawRect(150, 150, 600, 200);
tool.stage.addChild(testGraphic);
pixi.js
version: v5.0.0-rcConfirmed, its differs in v4 and v5. endFill()
doesn't help.
https://www.pixiplayground.com/#/edit/K45xTRXqfExRiZ6VUmx61
I suspected that something like that will appear, we rewrote Graphics class and I didn't test it enough.
closePath
doesnt help too: https://www.pixiplayground.com/#/edit/QhH9QAw9gStIxvM2nUgYw
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.