Class ImageConverterBitmap2G2D
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.AbstractImageConverter
org.apache.xmlgraphics.image.loader.impl.ImageConverterBitmap2G2D
- All Implemented Interfaces:
ImageConverter
This ImageConverter wraps a bitmap image in a Graphics2D image.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
Fields inherited from interface ImageConverter
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts an image into a different representation.Returns the flavor that this converter expects.Returns the flavor that this converter converts images into.Methods inherited from class AbstractImageConverter
checkSourceFlavor, getConversionPenalty
-
Constructor Details
-
ImageConverterBitmap2G2D
public ImageConverterBitmap2G2D()
-
-
Method Details
-
convert
-
getSourceFlavor
Returns the flavor that this converter expects.- Returns:
- the source flavor
-
getTargetFlavor
Returns the flavor that this converter converts images into.- Returns:
- the target flavor
-