ImageCapabilitiespublic class ImageCapabilities extends Object implements CloneableThe ImageCapabilities class gives information about an image's capabilities. |
Fields Summary |
---|
private final boolean | acceleratedThe accelerated. |
Constructors Summary |
---|
public ImageCapabilities(boolean accelerated)Instantiates a new ImageCapabilities with the specified acceleration flag
which indicates whether acceleration is desired or not.
this.accelerated = accelerated;
|
Methods Summary |
---|
public java.lang.Object | clone()Returns a copy of this ImageCapabilities object.
return new ImageCapabilities(accelerated);
| public boolean | isAccelerated()Returns true if the Image of this ImageCapabilities is or can be
accelerated.
return accelerated;
| public boolean | isTrueVolatile()Returns true if this ImageCapabilities applies to the VolatileImage which
can lose its surfaces.
return true;
|
|