Graphics.addHole API doesn't work with CanvasRenderer
See original GitHub issueFound in #4177
It appears that addHole
does not render correctly for CanvasRenderer.
WebGL example (works): https://jsfiddle.net/kr1ha29b/ 👍 Canvas example (broken): https://jsfiddle.net/LLk9nj00/ 👎
Correct render:
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Graphics.addHole API doesn't work with CanvasRenderer
Found in #4177 It appears that addHole does not render correctly for CanvasRenderer. WebGL example (works): https://jsfiddle.net/kr1ha29b/ ...
Read more >can renderTexture be rendered by any renderer - Pixi.js
Can I just new a CanvasRenderer or WebglRenderer to render renderTexture? Seems dosen't work. So renderTexture only can be rendered by it's ...
Read more >PixiJS API Documentation
utils/bezierCurveTo';; import CanvasRenderer from '. ... This is useful if your graphics element does not change often, as it will speed up the...
Read more >PIXI.CanvasRenderer - PixiJS API Documentation
The CanvasRenderer draws the scene and all its content onto a 2d canvas. This renderer should be used for browsers that do not...
Read more >pixi.js (v4.2.3) — Pixi.js is a fast lightweight 2D library that works ...
addHole ; Graphics.destroy; GraphicsData; GraphicsData; this. ... generateTexture; SystemRenderer.destroy; _createClass; CanvasRenderer; CanvasRenderer ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed by #5202
Well, there’s an idea that you have to make outer polygons counter-clockwise and inner clockwise. Let me see the code …