Results 1 to 1 of 1
- 12-14-2011, 02:30 PM #1
Member
- Join Date
- Oct 2011
- Posts
- 24
- Rep Power
- 0
How to save the previous state of objects drawn in a canvas?
Hi,
I have designed a simple 2D animation program on java using canvas class. In my program I have make use ofandJava Code:Graphics g
.Java Code:Image myImage = createImage(width, height)
Now I want to save previous state of the canvas. By which I can see the previous state of the application at any time.
How can I fulfill this requirement?
Thank you.
Similar Threads
-
How to update state variables in Objects (similar to pass by reference)
By JimmyD in forum Advanced JavaReplies: 9Last Post: 10-21-2011, 09:07 PM -
How to save a canvas in a scrolled composite as image
By wolfgang76 in forum SWT / JFaceReplies: 0Last Post: 12-30-2010, 01:32 AM -
Save Scene State
By quddusaliquddus in forum Advanced JavaReplies: 1Last Post: 09-21-2009, 04:08 PM -
Canvas not being drawn
By tacosc in forum Java AppletsReplies: 4Last Post: 03-29-2009, 10:11 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks