Class SVGReadParam
- java.lang.Object
-
- javax.imageio.IIOParam
-
- javax.imageio.ImageReadParam
-
- com.twelvemonkeys.imageio.plugins.svg.SVGReadParam
-
public class SVGReadParam extends javax.imageio.ImageReadParam
Implementation ofIamgeReadParam
for SVG images. SVG images allows for different source render sizes.
-
-
Constructor Summary
Constructors Constructor Description SVGReadParam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSetSourceRenderSize()
java.awt.Paint
getBackgroundColor()
java.lang.String
getBaseURI()
boolean
isAllowExternalResources()
void
setAllowExternalResources(boolean allow)
void
setBackgroundColor(java.awt.Paint pColor)
void
setBaseURI(java.lang.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
-
-
-
-
Method Detail
-
getBackgroundColor
public java.awt.Paint getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(java.awt.Paint pColor)
-
getBaseURI
public java.lang.String getBaseURI()
-
setBaseURI
public void setBaseURI(java.lang.String pBaseURI)
-
setAllowExternalResources
public void setAllowExternalResources(boolean allow)
-
isAllowExternalResources
public boolean isAllowExternalResources()
-
canSetSourceRenderSize
public boolean canSetSourceRenderSize()
- Overrides:
canSetSourceRenderSize
in classjavax.imageio.ImageReadParam
-
-