public class GLGraphicsConfiguration extends GraphicsConfiguration
GraphicsConfiguration
.
Implementation note: this object is intended primarily to allow callers to create compatible images. The transforms and bounds should be thought out before being used.
Constructor and Description |
---|
GLGraphicsConfiguration(GLDrawable drawable) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
createCompatibleImage(int width,
int height) |
Rectangle |
getBounds() |
ColorModel |
getColorModel() |
ColorModel |
getColorModel(int transparency) |
AffineTransform |
getDefaultTransform() |
GraphicsDevice |
getDevice() |
AffineTransform |
getNormalizingTransform() |
GLDrawable |
getTarget() |
public GLGraphicsConfiguration(GLDrawable drawable)
public GraphicsDevice getDevice()
getDevice
in class GraphicsConfiguration
public BufferedImage createCompatibleImage(int width, int height)
createCompatibleImage
in class GraphicsConfiguration
public ColorModel getColorModel()
getColorModel
in class GraphicsConfiguration
public ColorModel getColorModel(int transparency)
getColorModel
in class GraphicsConfiguration
public AffineTransform getDefaultTransform()
getDefaultTransform
in class GraphicsConfiguration
public AffineTransform getNormalizingTransform()
getNormalizingTransform
in class GraphicsConfiguration
public Rectangle getBounds()
getBounds
in class GraphicsConfiguration
public GLDrawable getTarget()
Copyright © 2010-2013. All Rights Reserved.