tint property not working on Graphics
See original GitHub issueUsing pixijs 3 the following would work:
var g = new PIXI.Graphics();
g.beginFill(0x999999);
g.drawRect(0, 0, 100, 100);
g.endFill();
g.tint = 0xFF0000;
stage.addChild(g);
On 4.0.0 it doesn’t seem to be working. Tested on Chrome 52 and Firefox 48
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
tintedImageProvider does not provide tint color in Graphic ...
To solve this, I've created a plain rectangle image of required complication size, set its background color to black and alpha to 11%....
Read more >tint property in PIXI.Graphics - HTML5 Game Devs Forum
So we have here only one shape and only one color but tint is not working var renderer = PIXI.autoDetectRenderer(800, 600, { antialias:...
Read more >[Enhancement] Add Tint to Image · Issue #4761 - GitHub
Summary I want to be able to provide a tint color to be applied to any Image and especially when setting an Icon...
Read more >Solved: Constant red tint on screen (yes, night light is off..)
Solved: My screen display keeps tinting itself red, as if it were in night mode, despite the night light being off. I can...
Read more >Tint and Shade Functions - CSS-Tricks
Both lighten and darken functions manipulate the lightness of a color in the HSL space by adding or subtracting lightness to it.
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 Free
Top 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

fixed in dev whoop! 👍
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.