Example usage for Java android.graphics Picture fields, constructors, methods, implement or subclass
The text is from its open source code.
Picture() Creates an empty picture that is ready to record. |
Canvas | beginRecording(int width, int height) To record a picture, call beginRecording() and then draw into the Canvas that is returned. |
Picture | createFromStream(InputStream stream) Create a new picture (already recorded) from the data in the stream. |
void | draw(Canvas canvas) Draw this picture on the canvas. |
void | endRecording() Call endRecording when the picture is built. |
int | getHeight() Get the height of the picture as passed to beginRecording. |
int | getWidth() Get the width of the picture as passed to beginRecording. |