Package com.itextpdf.svg.renderers.impl
Interface ISvgTextNodeRenderer
- All Superinterfaces:
-
ISvgNodeRenderer
- All Known Implementing Classes:
-
TextLeafSvgNodeRenderer,TextSvgBranchRenderer,TextSvgTSpanBranchRenderer
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanfloat[][]float[]floatgetTextContentLength(float parentFontSize, PdfFont font) 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 Details
-
getTextContentLength
-
getRelativeTranslation
float[] getRelativeTranslation() -
containsRelativeMove
boolean containsRelativeMove() -
containsAbsolutePositionChange
boolean containsAbsolutePositionChange() -
getAbsolutePositionChanges
float[][] getAbsolutePositionChanges() -
getTextRectangle
Return the bounding rectangle of the text element.- Parameters:
-
context- currentSvgDrawContext -
basePoint- end point of previous text element - Returns:
-
created instance of
TextRectangle
-