FileDocCategorySizeDatePackage
ImageCapabilities.javaAPI DocAndroid 1.5 API2358Wed May 06 22:41:54 BST 2009java.awt

ImageCapabilities

public class ImageCapabilities extends Object implements Cloneable
The ImageCapabilities class gives information about an image's capabilities.
since
Android 1.0

Fields Summary
private final boolean
accelerated
The accelerated.
Constructors Summary
public ImageCapabilities(boolean accelerated)
Instantiates a new ImageCapabilities with the specified acceleration flag which indicates whether acceleration is desired or not.

param
accelerated the accelerated flag.

        this.accelerated = accelerated;
    
Methods Summary
public java.lang.Objectclone()
Returns a copy of this ImageCapabilities object.

return
the copy of this ImageCapabilities object.

        return new ImageCapabilities(accelerated);
    
public booleanisAccelerated()
Returns true if the Image of this ImageCapabilities is or can be accelerated.

return
true, if the Image of this ImageCapabilities is or can be accelerated, false otherwise.

        return accelerated;
    
public booleanisTrueVolatile()
Returns true if this ImageCapabilities applies to the VolatileImage which can lose its surfaces.

return
true if this ImageCapabilities applies to the VolatileImage which can lose its surfaces, false otherwise.

        return true;