public class GenericGraphicsDevice extends GraphicsDevice
GraphicsDevice
interface as appropriate for the various output
configurations.GraphicsDevice.WindowTranslucency
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN
构造器和说明 |
---|
GenericGraphicsDevice(GraphicsConfiguration gc)
Create a new graphics2D device.
|
限定符和类型 | 方法和说明 |
---|---|
GraphicsConfiguration |
getBestConfiguration(GraphicsConfigTemplate gct)
Ignore template and return the only config we have
|
GraphicsConfiguration[] |
getConfigurations()
Return an array of our one GraphicsConfig
|
GraphicsConfiguration |
getDefaultConfiguration()
Return out sole GraphicsConfig.
|
String |
getIDstring()
Generate an IdString..
|
int |
getType()
Let the caller know that we are "a printer"
|
public GenericGraphicsDevice(GraphicsConfiguration gc)
gc
- we should referencepublic GraphicsConfiguration getBestConfiguration(GraphicsConfigTemplate gct)
getBestConfiguration
在类中 GraphicsDevice
gct
- the template configurationpublic GraphicsConfiguration[] getConfigurations()
getConfigurations
在类中 GraphicsDevice
public GraphicsConfiguration getDefaultConfiguration()
getDefaultConfiguration
在类中 GraphicsDevice
public String getIDstring()
getIDstring
在类中 GraphicsDevice
public int getType()
getType
在类中 GraphicsDevice
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.