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
Fields inherited from class javax.imageio.ImageReadParam
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize
Fields inherited from class javax.imageio.IIOParam
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setAllowExternalResources
(boolean allow) void
setBackgroundColor
(Paint pColor) void
setBaseURI
(String pBaseURI) Methods inherited from class javax.imageio.ImageReadParam
getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize
Methods inherited from class javax.imageio.IIOParam
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
-
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:
canSetSourceRenderSize
in classImageReadParam
-