Uses of Class
com.itextpdf.svg.renderers.SvgDrawContext
-
Uses of SvgDrawContext in com.itextpdf.svg.css
Modifier and TypeMethodDescriptionSvgStrokeParameterConverter.convertStrokeDashParameters
(String strokeDashArray, String strokeDashOffset, float fontSize, SvgDrawContext context) Convert stroke related SVG parameters and attributes into PDF line dash parameters. -
Uses of SvgDrawContext in com.itextpdf.svg.renderers
Modifier and TypeMethodDescriptionISvgPaintServer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) Creates theColor
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.ISvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) Calculates the current object bounding box. -
Uses of SvgDrawContext in com.itextpdf.svg.renderers.impl
Modifier and TypeMethodDescriptionprotected void
MarkerSvgNodeRenderer.applyViewBox
(SvgDrawContext context) LinearGradientSvgNodeRenderer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) 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) final void
AbstractSvgNodeRenderer.draw
(SvgDrawContext context) Applies transformations set to this object, if any, and delegates the drawing of this element and its children to thedoDraw
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) ClipPathSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) DefsSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) EllipseSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) GroupSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) ImageSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) LinearGradientSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) LineSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) MarkerSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PathSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PatternSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PdfRootSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) PolylineSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) RectangleSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) StopSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) SvgTagSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) SymbolSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) TextLeafSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) TextSvgBranchRenderer.getObjectBoundingBox
(SvgDrawContext context) TextSvgTSpanBranchRenderer.getObjectBoundingBox
(SvgDrawContext context) UseSvgNodeRenderer.getObjectBoundingBox
(SvgDrawContext context) ISvgTextNodeRenderer.getTextRectangle
(SvgDrawContext context, Point basePoint) Return the bounding rectangle of the text element.TextLeafSvgNodeRenderer.getTextRectangle
(SvgDrawContext context, Point basePoint) TextSvgBranchRenderer.getTextRectangle
(SvgDrawContext context, Point basePoint) protected float
AbstractSvgNodeRenderer.parseAbsoluteLength
(String length, float percentBaseValue, float defaultValue, SvgDrawContext context) Parse length attributes.