public class BitmapRenderingSettings extends Java2DRenderingSettings
| Constructor | Description |
|---|---|
BitmapRenderingSettings() |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
getPageBackgroundColor, hasTransparentPageBackground, setPageBackgroundColorpublic 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()
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 imageCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.