Package com.itextpdf.svg.renderers.impl
Interface ISvgTextNodeRenderer
-
- All Superinterfaces:
ISvgNodeRenderer
- All Known Implementing Classes:
TextLeafSvgNodeRenderer
,TextSvgBranchRenderer
,TextSvgTSpanBranchRenderer
public interface ISvgTextNodeRenderer extends ISvgNodeRenderer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsAbsolutePositionChange()
boolean
containsRelativeMove()
float[][]
getAbsolutePositionChanges()
float[]
getRelativeTranslation()
float
getTextContentLength(float parentFontSize, PdfFont font)
TextRectangle
getTextRectangle(SvgDrawContext context, Point basePoint)
Return the bounding rectangle of the text element.-
Methods inherited from interface com.itextpdf.svg.renderers.ISvgNodeRenderer
createDeepCopy, draw, getAttribute, getAttributeMapCopy, getObjectBoundingBox, getParent, setAttribute, setAttributesAndStyles, setParent
-
-
-
-
Method Detail
-
getTextContentLength
float getTextContentLength(float parentFontSize, PdfFont font)
-
getRelativeTranslation
float[] getRelativeTranslation()
-
containsRelativeMove
boolean containsRelativeMove()
-
containsAbsolutePositionChange
boolean containsAbsolutePositionChange()
-
getAbsolutePositionChanges
float[][] getAbsolutePositionChanges()
-
getTextRectangle
TextRectangle getTextRectangle(SvgDrawContext context, Point basePoint)
Return the bounding rectangle of the text element.- Parameters:
context
- currentSvgDrawContext
basePoint
- end point of previous text element- Returns:
- created instance of
TextRectangle
-
-