Class SVGReadParam
java.lang.Object
javax.imageio.IIOParam
javax.imageio.ImageReadParam
com.twelvemonkeys.imageio.plugins.svg.SVGReadParam
Implementation of
IamgeReadParam for SVG images.
SVG images allows for different source render sizes.-
Field Summary
FieldsFields inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSizeFields inherited from class javax.imageio.IIOParam
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetAllowExternalResources(boolean allow) voidsetBackgroundColor(Paint color) voidsetBaseURI(String baseURI) Methods inherited from class javax.imageio.ImageReadParam
getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSizeMethods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
-
Field Details
-
background
-
baseURI
-
allowExternalResources
private boolean allowExternalResources
-
-
Constructor Details
-
SVGReadParam
public SVGReadParam()
-
-
Method Details
-
getBackgroundColor
-
setBackgroundColor
-
getBaseURI
-
setBaseURI
-
setAllowExternalResources
public void setAllowExternalResources(boolean allow) -
isAllowExternalResources
public boolean isAllowExternalResources() -
canSetSourceRenderSize
public boolean canSetSourceRenderSize()- Overrides:
canSetSourceRenderSizein classImageReadParam
-