views:

55

answers:

0

Task: (all in code, not visual) create a canvas, place into it some labels and draw some lines, then cache it as byteArray.

The problem is that if I cache an object that is already drawed on the screen, it works great, but if I cache a canvas, that have been created few lines earlier, this results white image.

Is there any solution to cache a display object, that was created in code, but not intended to be displayed at all?