Build 1.0_r1(from source)

android.graphics
Class Camera

java.lang.Object
  extended by android.graphics.Camera

public class Camera
extends Object


Field Summary
(package private)  int native_instance
           
 
Constructor Summary
Camera()
           
 
Method Summary
 void applyToCanvas(Canvas canvas)
           
 float dotWithNormal(float dx, float dy, float dz)
           
protected  void finalize()
          Called by the virtual machine when there are no longer any (non-weak) references to the receiver.
 void getMatrix(Matrix matrix)
           
 void restore()
           
 void rotateX(float deg)
           
 void rotateY(float deg)
           
 void rotateZ(float deg)
           
 void save()
           
 void translate(float x, float y, float z)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

native_instance

int native_instance
Constructor Detail

Camera

public Camera()
Method Detail

save

public void save()

restore

public void restore()

translate

public void translate(float x,
                      float y,
                      float z)

rotateX

public void rotateX(float deg)

rotateY

public void rotateY(float deg)

rotateZ

public void rotateZ(float deg)

getMatrix

public void getMatrix(Matrix matrix)

applyToCanvas

public void applyToCanvas(Canvas canvas)

dotWithNormal

public float dotWithNormal(float dx,
                           float dy,
                           float dz)

finalize

protected void finalize()
                 throws Throwable
Description copied from class: Object
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.

Overrides:
finalize in class Object
Throws:
Throwable - The virtual machine ignores any exceptions which are thrown during finalization.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature