|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.GraphicsConfiguration
org.jfree.graphics2d.svg.SVGGraphicsConfiguration
public class SVGGraphicsConfiguration
A graphics configuration for the SVGGraphics2D class.
| Constructor Summary | |
|---|---|
SVGGraphicsConfiguration(int width,
int height)
Creates a new instance. |
|
| Method Summary | |
|---|---|
BufferedImage |
createCompatibleImage(int width,
int height)
Creates a compatible image.n This override is only here to provide support for Java 6 because from Java 7 onwards the super class has a non-abstract implementation for this method. |
VolatileImage |
createCompatibleVolatileImage(int width,
int height,
ImageCapabilities caps,
int transparency)
Returns a volatile image. |
Rectangle |
getBounds()
Returns the bounds for this configuration. |
ColorModel |
getColorModel()
Returns the color model for this configuration. |
ColorModel |
getColorModel(int transparency)
Returns the color model for the specified transparency type, or null. |
AffineTransform |
getDefaultTransform()
Returns the default transform. |
GraphicsDevice |
getDevice()
Returns the graphics device that this configuration is associated with. |
AffineTransform |
getNormalizingTransform()
Returns the normalizing transform. |
| Methods inherited from class java.awt.GraphicsConfiguration |
|---|
createCompatibleImage, createCompatibleVolatileImage, createCompatibleVolatileImage, createCompatibleVolatileImage, getBufferCapabilities, getImageCapabilities |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGGraphicsConfiguration(int width,
int height)
width - the width of the bounds.height - the height of the bounds.| Method Detail |
|---|
public GraphicsDevice getDevice()
getDevice in class GraphicsConfigurationnull).public ColorModel getColorModel()
getColorModel in class GraphicsConfigurationpublic ColorModel getColorModel(int transparency)
null.
getColorModel in class GraphicsConfigurationtransparency - the transparency type.
null).public AffineTransform getDefaultTransform()
getDefaultTransform in class GraphicsConfigurationpublic AffineTransform getNormalizingTransform()
getNormalizingTransform in class GraphicsConfigurationpublic Rectangle getBounds()
getBounds in class GraphicsConfiguration
public BufferedImage createCompatibleImage(int width,
int height)
createCompatibleImage in class GraphicsConfigurationwidth - the width.height - the height.
public VolatileImage createCompatibleVolatileImage(int width,
int height,
ImageCapabilities caps,
int transparency)
throws AWTException
createCompatibleVolatileImage in class GraphicsConfigurationwidth - the image width.height - the image height.caps - the image capabilities.transparency - the transparency.
AWTException - if there is a problem creating the image.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||