FlorianLudwig Posted March 18, 2015 Share Posted March 18, 2015 Hi, there is some missing functionality in PIXI.Graphics that I would like to add:lineBitmapStyle(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true)lineGradientStyle(type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null)beginGradientFill(type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null)beginBitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true) as present in the flash api. First two patches:implement lineBitmapStyle for canvas renderersupport lineBitmapStyle matrixThe rest of the api and WebGL renderer will follow. Would there be interest to merged these (when done) into PIXI? Feedback on API and implementation are welcome! Quote Link to comment Share on other sites More sharing options...
xerver Posted March 18, 2015 Share Posted March 18, 2015 Development of pixi is done on github: https://github.com/GoodBoyDigital/pixi.js Feel free to put in a PR anytime. If we were to merge it, it would likely be for v3 (dev branch). Quote Link to comment Share on other sites More sharing options...
FlorianLudwig Posted March 19, 2015 Author Share Posted March 19, 2015 Hey xerver, i was looking for some feedback on the plan and implementation before continuing and going to do a PR. Btw i worked against the dev branch so the posted patches are for v3 already. Quote Link to comment Share on other sites More sharing options...
xerver Posted March 20, 2015 Share Posted March 20, 2015 A PR is the best way to get feeback on implementation. Most people who work on pixi including myself and Mat rarely come here. Quote Link to comment Share on other sites More sharing options...
FlorianLudwig Posted March 20, 2015 Author Share Posted March 20, 2015 I created an issue on github: https://github.com/GoodBoyDigital/pixi.js/issues/1567 PR will follow as soon as the WebGL part is done. 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.