|
fop 2.2 | |||||||||
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.
Constructor Summary | |
---|---|
BitmapRenderingSettings()
Default constructor. |
Method Summary | |
---|---|
int |
getBufferedImageType()
Returns the BufferedImage type. |
java.lang.String |
getCompressionMethod()
Returns the compression method being used by the image writer. |
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 |
setCompressionMethod(java.lang.String compressionMethod)
Sets the compression method for the image writer. |
void |
setQualityRendering(boolean quality)
Controls whether to optimize rendering for speed or for quality. |
void |
setResolution(int dpi)
Sets the resolution of the output image. |
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()
public void setCompressionMethod(java.lang.String compressionMethod)
compressionMethod
- the compression method namepublic java.lang.String getCompressionMethod()
public void setResolution(int dpi)
dpi
- the dots-per-inch of the image
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |