Class SVGReadParam
- java.lang.Object
-
- javax.imageio.IIOParam
-
- javax.imageio.ImageReadParam
-
- com.twelvemonkeys.imageio.plugins.svg.SVGReadParam
-
public class SVGReadParam extends javax.imageio.ImageReadParamImplementation ofIamgeReadParamfor SVG images. SVG images allows for different source render sizes.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanallowExternalResourcesprivate java.awt.Paintbackgroundprivate java.lang.StringbaseURI
-
Constructor Summary
Constructors Constructor Description SVGReadParam()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanSetSourceRenderSize()java.awt.PaintgetBackgroundColor()java.lang.StringgetBaseURI()booleanisAllowExternalResources()voidsetAllowExternalResources(boolean allow)voidsetBackgroundColor(java.awt.Paint color)voidsetBaseURI(java.lang.String baseURI)-
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 color)
-
getBaseURI
public java.lang.String getBaseURI()
-
setBaseURI
public void setBaseURI(java.lang.String baseURI)
-
setAllowExternalResources
public void setAllowExternalResources(boolean allow)
-
isAllowExternalResources
public boolean isAllowExternalResources()
-
canSetSourceRenderSize
public boolean canSetSourceRenderSize()
- Overrides:
canSetSourceRenderSizein classjavax.imageio.ImageReadParam
-
-