English | Site Directory

Android - An Open Handset Alliance Project

android.graphics
public class

android.graphics.Picture

java.lang.Object
android.graphics.Picture

Summary

Public Constructors

          Picture()

Public Methods

        void  draw(Canvas canvas)
Draw this picture on the canvas.
        int  height()
        int  width()

Protected Methods

        void  finalize()
Called by the virtual machine when there are no longer any (non-weak) references to the receiver.
Methods inherited from class java.lang.Object

Details

Public Constructors

public Picture()

Public Methods

public void draw(Canvas canvas)

Draw this picture on the canvas. The picture may have the side effect of changing the matrix and clip of the canvas.

Parameters

canvas The picture is drawn to this canvas

public int height()

public int width()

Protected Methods

protected void finalize()

Called by the virtual machine when there are no longer any (non-weak) references to the receiver. Subclasses can use this facility to guarantee that any associated resources are cleaned up before the receiver is garbage collected. Uncaught exceptions which are thrown during the running of the method cause it to terminate immediately, but are otherwise ignored.

Note: The virtual machine assumes that the implementation in class Object is empty.

Throws

Throwable
Build m5-rc15g - 14 May 2008 12:50