Modifier and Type | Method and Description |
---|---|
static PdfFormXObject |
SvgConverter.convertToXObject(ISvgNodeRenderer topSvgRenderer, PdfDocument document)
This method draws a NodeRenderer tree to a canvas that is tied to the passed document.
|
static float[] |
SvgConverter.extractWidthAndHeight(ISvgNodeRenderer topSvgRenderer)
Extract width and height of the passed SVGNodeRenderer, defaulting to respective viewbox values if either one is not present or to browser default if viewbox is missing as well
|
Modifier and Type | Method and Description |
---|---|
void |
SvgNodeRendererInheritanceResolver.applyInheritanceToSubTree(ISvgNodeRenderer root, ISvgNodeRenderer subTree)
Deprecated.
will be removed in 7.2 release, use
SvgNodeRendererInheritanceResolver.applyInheritanceToSubTree(ISvgNodeRenderer, ISvgNodeRenderer, SvgCssContext) instead
|
static void |
SvgNodeRendererInheritanceResolver.applyInheritanceToSubTree(ISvgNodeRenderer root, ISvgNodeRenderer subTree, SvgCssContext cssContext)
Apply style and attribute inheritance to the tree formed by the root and the subTree.
|
protected void |
SvgNodeRendererInheritanceResolver.applyStyles(ISvgNodeRenderer parent, ISvgNodeRenderer child)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
ISvgProcessorResult.getRootRenderer()
Obtains the wrapped ISvgNodeRenderer root renderer.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ISvgNodeRenderer> |
ISvgProcessorResult.getNamedObjects()
Obtains a map of named-objects with their id's as keys and the objects as values
|
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
SvgProcessorResult.getRootRenderer() |
ISvgNodeRenderer |
ProcessorState.pop()
Removes and returns the first renderer of the processor state.
|
ISvgNodeRenderer |
ProcessorState.top()
Returns the first ISvgNodeRenderer object without removing it.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ISvgNodeRenderer> |
SvgProcessorResult.getNamedObjects() |
Modifier and Type | Method and Description |
---|---|
void |
ProcessorState.push(ISvgNodeRenderer svgNodeRenderer)
Adds an ISvgNodeRenderer to the processor's state.
|
Constructor and Description |
---|
SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, FontProvider fontProvider, FontSet tempFonts)
Deprecated.
use
SvgProcessorResult.SvgProcessorResult(Map, ISvgNodeRenderer, SvgProcessorContext) instead. Will be removed in 7.2.
|
SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, SvgProcessorContext context)
Creates new SvgProcessorResult entity.
|
Constructor and Description |
---|
SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects, ISvgNodeRenderer root, FontProvider fontProvider, FontSet tempFonts)
Deprecated.
use
SvgProcessorResult.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 | Interface and Description |
---|---|
interface |
IBranchSvgNodeRenderer
Interface that defines branches in the NodeRenderer structure.
|
interface |
INoDrawSvgNodeRenderer
Interface that defines branches in the NodeRenderer structure that will not draw on its own.
|
interface |
ISvgPaintServer
Interface for working with paint servers.
|
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
ISvgNodeRenderer.createDeepCopy()
Creates a deep copy of this renderer, including it's subtree of children
|
ISvgNodeRenderer |
SvgDrawContext.getNamedObject(String name)
Get a named object based on its name.
|
ISvgNodeRenderer |
ISvgNodeRenderer.getParent()
Gets the parent of this renderer.
|
Modifier and Type | Method and Description |
---|---|
List<ISvgNodeRenderer> |
IBranchSvgNodeRenderer.getChildren()
Gets all child renderers of this object.
|
Modifier and Type | Method and Description |
---|---|
void |
IBranchSvgNodeRenderer.addChild(ISvgNodeRenderer child)
Adds a renderer as the last element of the list of children.
|
void |
SvgDrawContext.addNamedObject(String name, ISvgNodeRenderer namedObject)
Adds a named object to the draw context.
|
void |
ISvgNodeRenderer.setParent(ISvgNodeRenderer parent)
Sets the parent of this renderer.
|
Modifier and Type | Method and Description |
---|---|
void |
SvgDrawContext.addNamedObjects(Map<String,ISvgNodeRenderer> namedObjects)
* Adds a number of named object to the draw context.
|
Constructor and Description |
---|
SvgDrawContext(ResourceResolver resourceResolver, FontProvider fontProvider, ISvgNodeRenderer svgRootRenderer)
Deprecated.
will be removed in 7.2, use
SvgDrawContext.SvgDrawContext(ResourceResolver, FontProvider) instead
|
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
ISvgNodeRendererFactory.createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent)
Create a configured renderer based on the passed Svg tag and set its parent.
|
ISvgNodeRenderer |
DefaultSvgNodeRendererFactory.createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent) |
Modifier and Type | Method and Description |
---|---|
Map<String,Class extends ISvgNodeRenderer>> |
ISvgNodeRendererMapper.getMapping()
Deprecated.
Gets the map from tag names to Renderer classes.
|
Map<String,Class extends ISvgNodeRenderer>> |
DefaultSvgNodeRendererMapper.getMapping()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
ISvgNodeRendererFactory.createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent)
Create a configured renderer based on the passed Svg tag and set its parent.
|
ISvgNodeRenderer |
DefaultSvgNodeRendererFactory.createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent) |
Modifier and Type | Interface and Description |
---|---|
interface |
ISvgTextNodeRenderer |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBranchSvgNodeRenderer
Abstract class that will be the superclass for any element that can function as a parent.
|
class |
AbstractContainerSvgNodeRenderer |
class |
AbstractGradientSvgNodeRenderer
ISvgNodeRenderer abstract implementation for gradient tags ( |
class |
AbstractSvgNodeRenderer
ISvgNodeRenderer abstract implementation.
|
class |
CircleSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
ClipPathSvgNodeRenderer
This renderer represents a collection of elements (simple shapes and paths).
|
class |
DefsSvgNodeRenderer |
class |
EllipseSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
GroupSvgNodeRenderer
This renderer represents a branch in an SVG tree.
|
class |
ImageSvgNodeRenderer
Responsible for drawing Images to the canvas.
|
class |
LinearGradientSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
LineSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
MarkerSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
NoDrawOperationSvgNodeRenderer
Deprecated.
will be removed in iText 7.2 use
INoDrawSvgNodeRenderer instead
|
class |
PathSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
PatternSvgNodeRenderer
Implementation for the svg |
class |
PdfRootSvgNodeRenderer
Root renderer responsible for applying the initial axis-flipping transform
|
class |
PolygonSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
PolylineSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
RectangleSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
StopSvgNodeRenderer
ISvgNodeRenderer implementation for the gradient |
class |
SvgTagSvgNodeRenderer
ISvgNodeRenderer implementation for the |
class |
SymbolSvgNodeRenderer |
class |
TextLeafSvgNodeRenderer
ISvgNodeRenderer implementation for drawing text to a canvas.
|
class |
TextSvgBranchRenderer
ISvgNodeRenderer implementation for the |
class |
TextSvgTSpanBranchRenderer |
class |
UseSvgNodeRenderer
Renderer implementing the use tag.
|
Modifier and Type | Method and Description |
---|---|
List<ISvgNodeRenderer> |
AbstractBranchSvgNodeRenderer.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBranchSvgNodeRenderer.addChild(ISvgNodeRenderer child) |
protected void |
AbstractSvgNodeRenderer.deepCopyAttributesAndStyles(ISvgNodeRenderer deepCopy)
Make a deep copy of the styles and attributes of this renderer Helper method for deep copying logic
|
void |
PdfRootSvgNodeRenderer.setParent(ISvgNodeRenderer parent) |
void |
AbstractSvgNodeRenderer.setParent(ISvgNodeRenderer parent) |
Constructor and Description |
---|
PdfRootSvgNodeRenderer(ISvgNodeRenderer subTreeRoot)
Creates a PdfRootSvgNodeRenderer instance.
|
Copyright © 1998–2023 iText Group NV. All rights reserved.