public class SvgProcessorContext extends Object
Constructor and Description |
---|
SvgProcessorContext(ISvgConverterProperties converterProperties)
Instantiates a new SvgProcessorContext instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addTemporaryFont(FontInfo fontInfo, String alias)
Add temporary font from @font-face.
|
void |
addTemporaryFont(FontProgram fontProgram, String encoding, String alias)
Add temporary font from @font-face.
|
MediaDeviceDescription |
getDeviceDescription()
Gets the device description.
|
FontProvider |
getFontProvider()
Gets the font provider.
|
ResourceResolver |
getResourceResolver()
Gets the resource resolver.
|
FontSet |
getTempFonts()
Gets the temporary set of fonts.
|
public SvgProcessorContext(ISvgConverterProperties converterProperties)
SvgProcessorContext
instance.
converterProperties
- a ISvgConverterProperties
instance
public FontProvider getFontProvider()
public ResourceResolver getResourceResolver()
public MediaDeviceDescription getDeviceDescription()
public FontSet getTempFonts()
public void addTemporaryFont(FontProgram fontProgram, String encoding, String alias)
fontProgram
- the font program
encoding
- the encoding
alias
- the alias
Copyright © 1998–2020 iText Group NV. All rights reserved.