public class SvgConverterProperties extends Object implements ISvgConverterProperties
ISvgConverterProperties
for DefaultSvgProcessor
.
Constructor and Description |
---|
SvgConverterProperties()
Creates a new SvgConverterProperties instance.
|
public SvgConverterProperties()
SvgConverterProperties
instance. Instantiates its members, IResourceRetriever and ISvgNodeRendererFactory, to its default implementations.
public SvgConverterProperties setRendererFactory(ISvgNodeRendererFactory rendererFactory)
public SvgConverterProperties setFontProvider(FontProvider fontProvider)
public ISvgNodeRendererFactory getRendererFactory()
ISvgConverterProperties
ISvgNodeRenderer
getRendererFactory
in interface ISvgConverterProperties
ISvgNodeRendererFactory
implementation
public String getCharset()
ISvgConverterProperties
UTF-8
will be used (by JSoup).
Please be aware that this method is NOT used when handling a String
variable in the SvgConverter
.
getCharset
in interface ISvgConverterProperties
Charset
used for decoding
public SvgConverterProperties setCharset(String charset)
public String getBaseUri()
getBaseUri
in interface ISvgConverterProperties
public FontProvider getFontProvider()
getFontProvider
in interface ISvgConverterProperties
public MediaDeviceDescription getMediaDeviceDescription()
getMediaDeviceDescription
in interface ISvgConverterProperties
public SvgConverterProperties setMediaDeviceDescription(MediaDeviceDescription mediaDeviceDescription)
mediaDeviceDescription
- the media device description
public SvgConverterProperties setBaseUri(String baseUri)
baseUri
- the base URI
public IResourceRetriever getResourceRetriever()
public SvgConverterProperties setResourceRetriever(IResourceRetriever resourceRetriever)
resourceRetriever
- the resource retriever
SvgConverterProperties
instance
Copyright © 1998–2023 iText Group NV. All rights reserved.