coter Posted September 22, 2015 Share Posted September 22, 2015 Exists in pixi.js analogue Bitmap and BitmapData? Or something on what you can draw a single pixel?I really need to draw an arc.And ask again - there is the possibility to obtain layer canvas Graphics?Or how to draw Graphics on native methods? Quote Link to comment Share on other sites More sharing options...
coolblue Posted September 22, 2015 Share Posted September 22, 2015 It's not clear from the documentation how to use canvas? Quote Link to comment Share on other sites More sharing options...
coter Posted September 22, 2015 Author Share Posted September 22, 2015 It's not clear from the documentation how to use canvas?I had to manually create a canvas, draw a line on it, and then shove it into the texture. Quote Link to comment Share on other sites More sharing options...
coter Posted September 22, 2015 Author Share Posted September 22, 2015 ups Quote Link to comment Share on other sites More sharing options...
xerver Posted September 27, 2015 Share Posted September 27, 2015 The method for doing this is either using the Graphics class for native drawing, or simply using a canvas object as the source for a texture. 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.