palanolho Posted June 16, 2018 Share Posted June 16, 2018 Hi everyone, I don't know if any of you is having the same issue or if it's only me doing something wrong but, the alignment property of the Graphic lineStyle doesn't seem to be working. No matter what value is set the alignment to, the like is always "centred". If you see attached example, the orange rectangle and the border rectangle has exactly the same size and are on the exact same position and no matter the value I set on the alignment, the line always looks like that (centred). Any ideas ? Many thanks, Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 16, 2018 Share Posted June 16, 2018 what version of pixi do you use? Quote Link to comment Share on other sites More sharing options...
palanolho Posted June 16, 2018 Author Share Posted June 16, 2018 PixiJS 4.7.1 - ✰ WebGL ✰ Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 16, 2018 Share Posted June 16, 2018 lineStyle alignment is in 4.8.0: https://github.com/pixijs/pixi.js/releases/tag/v4.8.0 Quote Link to comment Share on other sites More sharing options...
palanolho Posted June 16, 2018 Author Share Posted June 16, 2018 ok got it. thanks is there a "link" that always points to the latest pixi version ? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 16, 2018 Share Posted June 16, 2018 pixijs.download/release/pixi.js Quote Link to comment Share on other sites More sharing options...
palanolho Posted June 16, 2018 Author Share Posted June 16, 2018 ?Thanks ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.