Java android.graphics Picture fields, constructors, methods, implement or subclass

Example usage for Java android.graphics Picture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics Picture.

The text is from its open source code.

Constructor

Picture()
Creates an empty picture that is ready to record.

Method

CanvasbeginRecording(int width, int height)
To record a picture, call beginRecording() and then draw into the Canvas that is returned.
PicturecreateFromStream(InputStream stream)
Create a new picture (already recorded) from the data in the stream.
voiddraw(Canvas canvas)
Draw this picture on the canvas.
voidendRecording()
Call endRecording when the picture is built.
intgetHeight()
Get the height of the picture as passed to beginRecording.
intgetWidth()
Get the width of the picture as passed to beginRecording.