I want to copy an area from the canvas. There is an api in midp - javax.microedition.lcdui.Graphics
Using java Syntax Highlighting
- public void copyArea(int x_src,
- int y_src,
- int width,
- int height,
- int x_dest,
- int y_dest,
- int anchor)
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Copies the contents of a rectangular area (x_src, y_src, width, height) to a destination area, whose anchor point identified by anchor is located at (x_dest, y_dest). The effect must be that the destination area contains an exact copy of the contents of the source area immediately prior to the invocation of this method. This result must occur even if the source and destination areas overlap.
For example, I want to copy a rectangular area oldx,oldy,oldw and oldh to new positions newx, newy one will write,
Using java Syntax Highlighting
- g.copyArea(oldx, oldy, oldw, oldh, newx, newx, g.TOP | g.LEFT);
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
Is there any equaivalent api for copyArea in android?
Thanks!





