| Modifier and Type | Method and Description |
|---|---|
static com.itextpdf.kernel.pdf.xobject.PdfFormXObject |
SvgConverter.convertToXObject(ISvgNodeRenderer topSvgRenderer,
com.itextpdf.kernel.pdf.PdfDocument document)
This method draws a NodeRenderer tree to a canvas that is tied to the
passed document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SvgNodeRendererInheritanceResolver.applyInheritanceToSubTree(ISvgNodeRenderer root,
ISvgNodeRenderer subTree)
Apply style and attribute inheritance to the tree formed by the root and the subTree
|
protected void |
SvgNodeRendererInheritanceResolver.applyStyles(ISvgNodeRenderer parent,
ISvgNodeRenderer child) |
| 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,
com.itextpdf.layout.font.FontProvider fontProvider,
com.itextpdf.layout.font.FontSet tempFonts) |
| Constructor and Description |
|---|
SvgProcessorResult(Map<String,ISvgNodeRenderer> namedObjects,
ISvgNodeRenderer root,
com.itextpdf.layout.font.FontProvider fontProvider,
com.itextpdf.layout.font.FontSet tempFonts) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IBranchSvgNodeRenderer
Interface that defines branches in the NodeRenderer structure.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ISvgNodeRenderer |
ISvgNodeRendererFactory.createSvgNodeRendererForTag(com.itextpdf.styledxmlparser.node.IElementNode tag,
ISvgNodeRenderer parent)
Create a configured renderer based on the passed Svg tag and set its parent.
|
ISvgNodeRenderer |
DefaultSvgNodeRendererFactory.createSvgNodeRendererForTag(com.itextpdf.styledxmlparser.node.IElementNode tag,
ISvgNodeRenderer parent) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Class<? extends ISvgNodeRenderer>> |
ISvgNodeRendererMapper.getMapping()
Gets the map from tag names to Renderer classes.
|
Map<String,Class<? extends ISvgNodeRenderer>> |
DefaultSvgNodeRendererMapper.getMapping() |
| Modifier and Type | Method and Description |
|---|---|
ISvgNodeRenderer |
ISvgNodeRendererFactory.createSvgNodeRendererForTag(com.itextpdf.styledxmlparser.node.IElementNode tag,
ISvgNodeRenderer parent)
Create a configured renderer based on the passed Svg tag and set its parent.
|
ISvgNodeRenderer |
DefaultSvgNodeRendererFactory.createSvgNodeRendererForTag(com.itextpdf.styledxmlparser.node.IElementNode tag,
ISvgNodeRenderer parent) |
| 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 |
AbstractSvgNodeRenderer
ISvgNodeRenderer abstract implementation. |
class |
CircleSvgNodeRenderer
ISvgNodeRenderer implementation for the <circle> tag. |
class |
EllipseSvgNodeRenderer
ISvgNodeRenderer implementation for the <circle> tag. |
class |
GroupSvgNodeRenderer
This renderer represents a branch in an SVG tree.
|
class |
ImageSvgNodeRenderer
Responsible for drawing Images to the canvas.
|
class |
LineSvgNodeRenderer
ISvgNodeRenderer implementation for the <line> tag. |
class |
NoDrawOperationSvgNodeRenderer
Tags mapped onto this renderer won't be drawn and will be excluded from the renderer tree when processed.
|
class |
PathSvgNodeRenderer
ISvgNodeRenderer implementation for the <path> tag. |
class |
PdfRootSvgNodeRenderer
Root renderer responsible for applying the initial axis-flipping transform
|
class |
PolygonSvgNodeRenderer
ISvgNodeRenderer implementation for the <polygon> tag. |
class |
PolylineSvgNodeRenderer
ISvgNodeRenderer implementation for the <polyline> tag. |
class |
RectangleSvgNodeRenderer
ISvgNodeRenderer implementation for the <rect> tag. |
class |
SvgTagSvgNodeRenderer
ISvgNodeRenderer implementation for the <svg> tag. |
class |
TextSvgNodeRenderer
Draws text to a PdfCanvas.
|
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–2018 iText Group NV. All rights reserved.