public class BitmapRenderingSettings extends Java2DRenderingSettings implements TIFFConstants
COMPRESSION_CCITT_T4, COMPRESSION_CCITT_T6, COMPRESSION_DEFLATE, COMPRESSION_JPEG, COMPRESSION_LZW, COMPRESSION_NONE, COMPRESSION_PACKBITS, COMPRESSION_ZLIB, MIME_TYPE
Constructor and Description |
---|
BitmapRenderingSettings()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getBufferedImageType()
Returns the BufferedImage type.
|
org.apache.xmlgraphics.image.writer.ImageWriterParams |
getWriterParams()
Returns the image writer parameters used for encoding the bitmap images.
|
boolean |
isAntiAliasingEnabled()
Indicates whether anti-aliasing is enabled.
|
boolean |
isQualityRenderingEnabled()
Indicates whether quality rendering is enabled.
|
void |
setAntiAliasing(boolean value)
Enables or disables anti-aliasing.
|
void |
setBufferedImageType(int bufferedImageType)
Sets the type of the BufferedImage to use when preparing a new instance.
|
void |
setQualityRendering(boolean quality)
Controls whether to optimize rendering for speed or for quality.
|
getPageBackgroundColor, hasTransparentPageBackground, setPageBackgroundColor
public BitmapRenderingSettings()
public org.apache.xmlgraphics.image.writer.ImageWriterParams getWriterParams()
public int getBufferedImageType()
public void setBufferedImageType(int bufferedImageType)
bufferedImageType
- a BufferImage.TYPE_* valuepublic void setAntiAliasing(boolean value)
value
- true to enable anti-aliasingpublic boolean isAntiAliasingEnabled()
public void setQualityRendering(boolean quality)
quality
- true to optimize for quality, false to optimize for speedpublic boolean isQualityRenderingEnabled()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.