You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, a GSprite is mostly a "container" to add other display objects but has a graphics property to draw things in it as well.
If you wanna display an Image (from the bytes) is more performant an easier to use a GBitmap (which is a display object as well) and add it as child of a Gsprite,
Another approach is using the Image as a "fill" for drawing, with a GShape or a GSprite, and access the graphics.beginBitmapFill.
I will try to post an example later here for you, but dig into the examples source codes in the meantime to see how to render images with graphx
Sorry for the beginner's question.
How to make GSprite from Uint8List Image?
The text was updated successfully, but these errors were encountered: