xmlgraphics-commons 2.2

org.apache.xmlgraphics.java2d
Class GraphicsConfigurationWithoutTransparency

java.lang.Object
  extended by java.awt.GraphicsConfiguration
      extended by org.apache.xmlgraphics.java2d.AbstractGraphicsConfiguration
          extended by org.apache.xmlgraphics.java2d.GraphicsConfigurationWithoutTransparency

public class GraphicsConfigurationWithoutTransparency
extends AbstractGraphicsConfiguration

An implementation of GraphicsConfiguration that does not support transparencies (alpha channels).


Constructor Summary
GraphicsConfigurationWithoutTransparency()
           
 
Method Summary
 BufferedImage createCompatibleImage(int width, int height)
           
 BufferedImage createCompatibleImage(int width, int height, int transparency)
           
 Rectangle getBounds()
           
 ColorModel getColorModel()
           
 ColorModel getColorModel(int transparency)
           
 AffineTransform getDefaultTransform()
           
 GraphicsDevice getDevice()
           
 AffineTransform getNormalizingTransform()
           
 
Methods inherited from class org.apache.xmlgraphics.java2d.AbstractGraphicsConfiguration
createCompatibleVolatileImage, createCompatibleVolatileImage
 
Methods inherited from class java.awt.GraphicsConfiguration
createCompatibleVolatileImage, createCompatibleVolatileImage, getBufferCapabilities, getImageCapabilities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicsConfigurationWithoutTransparency

public GraphicsConfigurationWithoutTransparency()
Method Detail

getDevice

public GraphicsDevice getDevice()
Specified by:
getDevice in class GraphicsConfiguration

createCompatibleImage

public BufferedImage createCompatibleImage(int width,
                                           int height)
Specified by:
createCompatibleImage in class GraphicsConfiguration

createCompatibleImage

public BufferedImage createCompatibleImage(int width,
                                           int height,
                                           int transparency)
Overrides:
createCompatibleImage in class GraphicsConfiguration

getColorModel

public ColorModel getColorModel()
Specified by:
getColorModel in class GraphicsConfiguration

getColorModel

public ColorModel getColorModel(int transparency)
Specified by:
getColorModel in class GraphicsConfiguration

getDefaultTransform

public AffineTransform getDefaultTransform()
Specified by:
getDefaultTransform in class GraphicsConfiguration

getNormalizingTransform

public AffineTransform getNormalizingTransform()
Specified by:
getNormalizingTransform in class GraphicsConfiguration

getBounds

public Rectangle getBounds()
Specified by:
getBounds in class GraphicsConfiguration

xmlgraphics-commons 2.2

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.