public class LinkRenderer extends TextRenderer
line, otfFeaturesApplied, strToBeConverted, tabAnchorCharacterPosition, text, TEXT_SPACE_COEFF, yLineOffsetchildRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, parent, positionedRenderers, properties| Constructor and Description |
|---|
LinkRenderer(Link link) |
LinkRenderer(Link linkElement, String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(DrawContext drawContext)
Flushes the renderer subtree contents, i.e. draws itself on canvas, adds necessary objects to the PdfDocument etc.
|
IRenderer |
getNextRenderer()
Gets a new instance of this class to be used as a next renderer, after this renderer is used, if IRenderer.layout(LayoutContext) is called more than once.
|
applyOtf, baseCharactersCount, calculateLineWidth, charAt, createOverflowRenderer, createSplitRenderer, drawBackground, drawSingleUnderline, getAscent, getDefaultProperty, getDescent, getFirstYLineRecursively, getNumberOfSpaces, getTabAnchorCharacterPosition, getText, getYLine, layout, length, lineLength, moveYLineTo, setText, setText, split, toString, trimFirst, trimLastaddAllProperties, addChild, alignChildHorizontally, applyAbsolutePositioningTranslation, applyAction, applyBorderBox, applyDestination, applyMargins, applyPaddings, deleteOwnProperty, deleteProperty, drawBorder, drawChildren, getBorderAreaBBox, getBorders, getChildRenderers, getInnerAreaBBox, getModelElement, getOccupiedArea, getOccupiedAreaBBox, getOwnProperties, getOwnProperty, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, hasOwnProperty, hasProperty, initElementAreas, isFixedLayout, isFlushed, isNotFittingHeight, isPositioned, move, retrieveHeight, retrieveUnitValue, retrieveWidth, setBorders, setParent, setPropertypublic LinkRenderer(Link link)
public void draw(DrawContext drawContext)
IRenderer
PdfDocument etc.
draw in interface IRenderer
draw in class TextRenderer
drawContext - contains the PdfDocument to which the renderer subtree if flushed, the PdfCanvas on which the renderer subtree is drawn and other additional parameters needed to perform drawing
public IRenderer getNextRenderer()
IRenderer
IRenderer.layout(LayoutContext) is called more than once.
getNextRenderer in interface IRenderer
getNextRenderer in class TextRenderer
Copyright © 1998–2016 iText Group NV. All rights reserved.