public class LinkRenderer extends TextRenderer
line, otfFeaturesApplied, reversedRanges, savedWordBreakAtLineEnding, strToBeConverted, tabAnchorCharacterPosition, text, TEXT_SPACE_COEFF, yLineOffsetchildRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, parent, positionedRenderers, properties| Constructor and Description |
|---|
LinkRenderer(Link link)
Creates a LinkRenderer from its corresponding layout object.
|
LinkRenderer(Link linkElement, String text)
Creates a LinkRenderer from its corresponding layout object, with a custom text to replace the contents of the Link.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(DrawContext drawContext)
Flushes the renderer subtree contents, i.e.
|
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, createCopy, createOverflowRenderer, createSplitRenderer, drawBackground, drawSingleUnderline, drawSingleUnderline, getAscent, getDescent, getFirstYLineRecursively, getMinMaxWidth, getNumberOfSpaces, getTabAnchorCharacterPosition, getText, getYLine, isNewLine, layout, length, lineLength, moveYLineTo, resolveFonts, setGlyphLineAndFont, setText, setText, split, toString, trimFirst, trimLastaddAllProperties, addChild, alignChildHorizontally, alignChildHorizontally, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, deleteOwnProperty, deleteProperty, drawBorder, drawChildren, endElementOpacityApplying, getBorderAreaBBox, getBorders, getChildRenderers, getDefaultProperty, getInnerAreaBBox, getMargins, getModelElement, getOccupiedArea, getOccupiedAreaBBox, getOwnProperties, getOwnProperty, getPaddings, getParent, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, getPropertyAsTransparentColor, hasOwnOrModelProperty, hasOwnProperty, hasProperty, initElementAreas, isAbsolutePosition, isFixedLayout, isFlushed, isKeepTogether, isNotFittingHeight, isNotFittingLayoutArea, isPositioned, isRelativePosition, isStaticLayout, move, overrideHeightProperties, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMinHeight, retrieveUnitValue, retrieveWidth, setBorders, setParent, setProperty, transformPointsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, getChildRenderers, getModelElement, getOccupiedArea, getProperty, isFlushed, move, setParentdeleteOwnProperty, getDefaultProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setPropertypublic LinkRenderer(Link link)
link - the Link which this object should manage
public void draw(DrawContext drawContext)
AbstractRenderer
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–2017 iText Group NV. All rights reserved.