Returns an ImageCapabilities object which can be
inquired as to the capabilities of this
Image on the specified GraphicsConfiguration.
This allows programmers to find
out more runtime information on the specific Image
object that they have created. For example, the user
might create a BufferedImage but the system may have
no video memory left for creating an image of that
size on the given GraphicsConfiguration, so although the object
may be acceleratable in general, it is
does not have that capability on this GraphicsConfiguration.
Returns:
an
ImageCapabilities
object that contains
the capabilities of this
Image
on the specified
GraphicsConfiguration.
Parameters:
-
gc - a
GraphicsConfiguration
object. A value of null
for this parameter will result in getting the image capabilities
for the default
GraphicsConfiguration
.
Since:
1.5
See Also:
VolatileImage.getCapabilities()
,