org.apache.batik.ext.awt
Class RenderingHintsKeyExt

java.lang.Object
  |
  +--org.apache.batik.ext.awt.RenderingHintsKeyExt

public final class RenderingHintsKeyExt
extends java.lang.Object

Contains additional RenderingHints Keys, such as KEY_AREA_OF_INTEREST


Field Summary
static java.awt.RenderingHints.Key KEY_AREA_OF_INTEREST
          Key for the AOI hint.
static java.awt.RenderingHints.Key KEY_BUFFERED_IMAGE
          Hint for the destination of the rendering when it is a BufferedImage This works around the fact that Java 2D sometimes lies about the attributes of the Graphics2D device, when it is an image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_AREA_OF_INTEREST

public static final java.awt.RenderingHints.Key KEY_AREA_OF_INTEREST
Key for the AOI hint. This hint is used to propagate the AOI to Paint and PaintContext instances.

KEY_BUFFERED_IMAGE

public static final java.awt.RenderingHints.Key KEY_BUFFERED_IMAGE
Hint for the destination of the rendering when it is a BufferedImage This works around the fact that Java 2D sometimes lies about the attributes of the Graphics2D device, when it is an image. It is strongly suggested that you use org.apache.batik.ext.awt.image.GraphicsUtil.createGraphics to create a Graphics2D from a BufferedImage, this will ensure that the proper things are done in the processes of creating the Graphics.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.