public class SvgProcessorResult extends Object implements ISvgProcessorResult
ISvgProcessor
objects.
Constructor and Description |
---|
SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, FontProvider fontProvider, FontSet tempFonts)
Deprecated.
use
SvgProcessorResult(Map, ISvgNodeRenderer, SvgProcessorContext) instead. Will be removed in 7.2.
|
SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context)
Creates new SvgProcessorResult entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
SvgProcessorContext |
getContext()
Gets processor context, containing FontProvider and FontSet of temporary fonts inside.
|
FontProvider |
getFontProvider()
Obtains the FontProvider .
|
Map<String,ISvgNodeRenderer> |
getNamedObjects()
Obtains a map of named-objects with their id's as keys and the objects as values
|
ISvgNodeRenderer |
getRootRenderer()
Obtains the wrapped ISvgNodeRenderer root renderer.
|
FontSet |
getTempFonts()
Obtains the list of temporary fonts
|
int |
hashCode() |
@Deprecated public SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, FontProvider fontProvider, FontSet tempFonts)
SvgProcessorResult(Map, ISvgNodeRenderer, SvgProcessorContext)
instead. Will be removed in 7.2.
SvgProcessorResult
entity.
namedObjects
- a map of named-objects with their id's as String
keys and the ISvgNodeRenderer
objects as values.
root
- a wrapped ISvgNodeRenderer
root renderer.
fontProvider
- a FontProvider
instance.
tempFonts
- a FontSet
containing temporary fonts.
public SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context)
SvgProcessorResult
entity.
namedObjects
- a map of named-objects with their id's as String
keys and the ISvgNodeRenderer
objects as values.
root
- a wrapped ISvgNodeRenderer
root renderer.
context
- a SvgProcessorContext
instance.
public Map<String,ISvgNodeRenderer> getNamedObjects()
ISvgProcessorResult
getNamedObjects
in interface ISvgProcessorResult
ISvgNodeRenderer
as values
public ISvgNodeRenderer getRootRenderer()
ISvgProcessorResult
ISvgNodeRenderer
root renderer.
getRootRenderer
in interface ISvgProcessorResult
public FontProvider getFontProvider()
ISvgProcessorResult
FontProvider
.
getFontProvider
in interface ISvgProcessorResult
public FontSet getTempFonts()
ISvgProcessorResult
getTempFonts
in interface ISvgProcessorResult
public SvgProcessorContext getContext()
FontProvider
and FontSet
of temporary fonts inside.
SvgProcessorContext
instance
Copyright © 1998–2023 iText Group NV. All rights reserved.