|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.java2d.Java2DRenderingSettings
org.apache.fop.render.bitmap.BitmapRenderingSettings
public class BitmapRenderingSettings
This class holds settings used when rendering to bitmaps.
Field Summary |
---|
Fields inherited from interface org.apache.fop.render.bitmap.TIFFConstants |
---|
COMPRESSION_CCITT_T4, COMPRESSION_CCITT_T6, COMPRESSION_DEFLATE, COMPRESSION_JPEG, COMPRESSION_LZW, COMPRESSION_NONE, COMPRESSION_PACKBITS, COMPRESSION_ZLIB, MIME_TYPE |
Constructor Summary | |
---|---|
BitmapRenderingSettings()
Default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.fop.render.java2d.Java2DRenderingSettings |
---|
getPageBackgroundColor, hasTransparentPageBackground, setPageBackgroundColor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BitmapRenderingSettings()
Method Detail |
---|
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()
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |