Package | Description |
---|---|
com.itextpdf.svg.renderers | |
com.itextpdf.svg.renderers.impl |
Modifier and Type | Method and Description |
---|---|
Color |
ISvgPaintServer.createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)
Creates the Color that represents the corresponding paint server for specified object box.
|
void |
ISvgNodeRenderer.draw(SvgDrawContext context)
Draws this element to a canvas-like object maintained in the context.
|
void |
IMarkerCapable.drawMarker(SvgDrawContext context, MarkerVertexType markerVertexType)
Draws a marker in the specified context.
|
Rectangle |
ISvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context)
Calculates the current object bounding box.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MarkerSvgNodeRenderer.applyViewBox(SvgDrawContext context) |
Color |
LinearGradientSvgNodeRenderer.createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) |
Color |
PatternSvgNodeRenderer.createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) |
protected void |
AbstractBranchSvgNodeRenderer.doDraw(SvgDrawContext context)
Method that will set properties to be inherited by this branch renderer's children and will iterate over all children in order to draw them.
|
protected void |
AbstractContainerSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
AbstractGradientSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected abstract void |
AbstractSvgNodeRenderer.doDraw(SvgDrawContext context)
Draws this element to a canvas-like object maintained in the context.
|
protected void |
ClipPathSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
DefsSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
EllipseSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
GroupSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
ImageSvgNodeRenderer.doDraw(SvgDrawContext context) |
void |
LineSvgNodeRenderer.doDraw(SvgDrawContext context) |
void |
PathSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
PolylineSvgNodeRenderer.doDraw(SvgDrawContext context)
Draws this element to a canvas-like object maintained in the context.
|
protected void |
RectangleSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
StopSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
TextLeafSvgNodeRenderer.doDraw(SvgDrawContext context) |
protected void |
TextSvgBranchRenderer.doDraw(SvgDrawContext context)
Method that will set properties to be inherited by this branch renderer's children and will iterate over all children in order to draw them.
|
protected void |
TextSvgTSpanBranchRenderer.doDraw(SvgDrawContext context) |
protected void |
UseSvgNodeRenderer.doDraw(SvgDrawContext context) |
void |
AbstractSvgNodeRenderer.draw(SvgDrawContext context)
Applies transformations set to this object, if any, and delegates the drawing of this element and its children to the doDraw method.
|
void |
PdfRootSvgNodeRenderer.draw(SvgDrawContext context) |
void |
LineSvgNodeRenderer.drawMarker(SvgDrawContext context, MarkerVertexType markerVertexType) |
void |
PathSvgNodeRenderer.drawMarker(SvgDrawContext context, MarkerVertexType markerVertexType) |
void |
PolylineSvgNodeRenderer.drawMarker(SvgDrawContext context, MarkerVertexType markerVertexType) |
Rectangle |
ClipPathSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
DefsSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
EllipseSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
GroupSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
ImageSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
LinearGradientSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
LineSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
MarkerSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
PathSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
PatternSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
PdfRootSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
PolylineSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
RectangleSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
StopSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
SvgTagSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
SymbolSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
TextLeafSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
TextSvgBranchRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
TextSvgTSpanBranchRenderer.getObjectBoundingBox(SvgDrawContext context) |
Rectangle |
UseSvgNodeRenderer.getObjectBoundingBox(SvgDrawContext context) |
TextRectangle |
ISvgTextNodeRenderer.getTextRectangle(SvgDrawContext context, Point basePoint)
Return the bounding rectangle of the text element.
|
TextRectangle |
TextLeafSvgNodeRenderer.getTextRectangle(SvgDrawContext context, Point basePoint) |
TextRectangle |
TextSvgBranchRenderer.getTextRectangle(SvgDrawContext context, Point basePoint) |
protected float |
AbstractSvgNodeRenderer.parseAbsoluteLength(String length, float percentRelativeValue, float defaultValue, SvgDrawContext context)
Parse absolute length.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.