Android-WScratchView
Android-WScratchView copied to clipboard
Storing Scratchview data and redraw later ?
Hi, i am able to implement this lib on Logo Guessing game.
And I also want to store data some where. and later i want to redraw the last stored image exactly same..
Is it possible ?
I am not getting your question exactly. If you are referring the last scratched location, all are store in List<Path> mPathList in the sources. You can modify the sources to add get set function to access the mPathList and then serialize it somewhere you prefer to. Maybe you need to take a look on android.graphics.Path too. Good Luck.
Thanks winson .. I will implement it..
On Sat, Feb 28, 2015 at 2:33 PM, Winson Tan [email protected] wrote:
I am not getting your question exactly. If you are referring the last scratched location, all are store in List mPathList in the sources. You can modify the sources to add get set function to access the mPathList and then serialize it somewhere you prefer to. Maybe you need to take a look on android.graphics.Path too. Good Luck.
— Reply to this email directly or view it on GitHub https://github.com/winsontan520/Android-WScratchView/issues/14#issuecomment-76518043 .