public class HTMLGraphicsConfiguration extends GraphicsConfiguration
HTMLGraphicsConfiguration class describes the characteristics of the HTML canvas in the browser, as a
graphics destination to write to. Note that there can be several GraphicsConfiguration objects associated with a
single graphics device, representing different drawing modes or capabilities. | Constructor and Description |
|---|
HTMLGraphicsConfiguration()
Create a graphics configuration for the HTML device.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getBounds() |
ColorModel |
getColorModel() |
ColorModel |
getColorModel(int transparency) |
AffineTransform |
getDefaultTransform() |
GraphicsDevice |
getDevice() |
AffineTransform |
getNormalizingTransform() |
void |
setDevice(HTMLDevice htmlDevice)
Set the
HTMLDevice associated with this HTMLGraphicsConfiguration. |
public HTMLGraphicsConfiguration()
public GraphicsDevice getDevice()
getDevice in class GraphicsConfigurationpublic void setDevice(HTMLDevice htmlDevice)
HTMLDevice associated with this HTMLGraphicsConfiguration.htmlDevice - HTMLDevice; a <code>GraphicsDevice</code> object that is associated with this
HTMLGraphicsConfiguration.public ColorModel getColorModel()
getColorModel in class GraphicsConfigurationpublic ColorModel getColorModel(int transparency)
getColorModel in class GraphicsConfigurationpublic AffineTransform getDefaultTransform()
getDefaultTransform in class GraphicsConfigurationpublic AffineTransform getNormalizingTransform()
getNormalizingTransform in class GraphicsConfigurationpublic Rectangle getBounds()
getBounds in class GraphicsConfigurationCopyright © 2014–2019 Delft University of Technology. All rights reserved.