android.awt.AndroidGraphicsConfiguration
| java.lang.Object |
|
|
java.awt.GraphicsConfiguration |
|
|
|
android.awt.AndroidGraphicsConfiguration |
|
Summary
Public Constructors
Public Methods
createCompatibleImage,
createCompatibleImage,
createCompatibleVolatileImage,
createCompatibleVolatileImage,
createCompatibleVolatileImage,
createCompatibleVolatileImage,
getBounds,
getBufferCapabilities,
getColorModel,
getColorModel,
getDefaultTransform,
getDevice,
getImageCapabilities,
getNormalizingTransform
| abstract |
|
|
|
BufferedImage |
createCompatibleImage(int width, int height) |
| abstract |
|
|
|
BufferedImage |
createCompatibleImage(int width, int height, int transparency) |
| abstract |
|
|
|
VolatileImage |
createCompatibleVolatileImage(int width, int height, int transparency) |
| abstract |
|
|
|
VolatileImage |
createCompatibleVolatileImage(int width, int height) |
| |
|
|
|
VolatileImage |
createCompatibleVolatileImage(int width, int height, ImageCapabilities caps) |
| |
|
|
|
VolatileImage |
createCompatibleVolatileImage(int width, int height, ImageCapabilities caps, int transparency) |
| abstract |
|
|
|
Rectangle |
getBounds() |
| |
|
|
|
BufferCapabilities |
getBufferCapabilities() |
| abstract |
|
|
|
ColorModel |
getColorModel(int transparency) |
| abstract |
|
|
|
ColorModel |
getColorModel() |
| abstract |
|
|
|
AffineTransform |
getDefaultTransform() |
| abstract |
|
|
|
GraphicsDevice |
getDevice() |
| |
|
|
|
ImageCapabilities |
getImageCapabilities() |
| abstract |
|
|
|
AffineTransform |
getNormalizingTransform() |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
AndroidGraphicsConfiguration()
Public Methods
public
BufferedImage
createCompatibleImage(int width, int height)
Creates BufferedImage image object with a data layout and color model
compatible with this GraphicsConfiguration with specified width
and height parameters.
Parameters
| width
| the width of BufferedImage. |
| height
| the height of BufferedImage. |
public
BufferedImage
createCompatibleImage(int width, int height, int transparency)
Creates a BufferedImage that has the specified width, height,
transparency and has a data layout and color model compatible with this
GraphicsConfiguration.
Parameters
| width
| the width of image. |
| height
| the height of image. |
| transparency
| the transparency mode. |
public
VolatileImage
createCompatibleVolatileImage(int width, int height, int transparency)
Creates a VolatileImage that supports the specified width, height,
transparency and has a data layout and color model compatible with this
GraphicsConfiguration.
Parameters
| width
| the width of image. |
| height
| the height of image. |
| transparency
| the transparency mode. |
public
VolatileImage
createCompatibleVolatileImage(int width, int height)
Creates a VolatileImage that has the specified width and height
and has a data layout and color model compatible with this
GraphicsConfiguration.
Parameters
| width
| the width of image. |
| height
| the height of image. |
public
Rectangle
getBounds()
Gets the bounds of area covered by the GraphicsConfiguration in the
device coordinates space.
public
ColorModel
getColorModel(int transparency)
Gets the ColorModel of the GraphicsConfiguration which
supports specified Transparency.
Parameters
| transparency
| the Transparency mode: OPAQUE, BITMASK, or
TRANSLUCENT. |
public
ColorModel
getColorModel()
Gets the ColorModel of the GraphicsConfiguration.
public
AffineTransform
getDefaultTransform()
Gets the default AffineTransform of the GraphicsConfiguration.
This method translates user coordinates to device coordinates.
public
GraphicsDevice
getDevice()
Gets the GraphicsDevice of the GraphicsConfiguration.
public
AffineTransform
getNormalizingTransform()
Gets the normalizing AffineTransform of the GraphicsConfiguration.