public abstract class AbstractOneLineTextFieldRenderer extends AbstractTextFieldRenderer
BlockRenderer for a single line of text content in a form field.
| Modifier and Type | Field and Description |
|---|---|
protected float |
baseline
The position of the base line of the text.
|
fontflatRenderer| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOneLineTextFieldRenderer(IFormField modelElement)
Creates a new AbstractOneLineTextFieldRenderer instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cropContentLines(List
Crops the content lines.
|
float |
getAscent() |
float |
getDescent() |
protected void |
updateParagraphHeight()
Updates the paragraph height.
|
adjustNumberOfContentLines, applyDefaultFieldProperties, createParagraphRenderer, updatePdfFontadjustFieldLayout, applyAcroField, createFlatRenderer, draw, drawChildren, getContentWidth, getDefaultValue, getMinMaxWidth, getModelId, isFlatten, isRendererFit, layoutapplyBordersPaddingsMargins, applyRotation, applyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, correctPositionedLayout, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getOccupiedAreaBBoxaddAllProperties, addChild, alignChildHorizontally, alignChildHorizontally, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, beginTranformationIfApplied, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, clipBackgroundArea, clipBorderArea, deleteOwnProperty, deleteProperty, drawBackground, drawBorder, endElementOpacityApplying, endTranformationIfApplied, getBorderAreaBBox, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, getLastYLineRecursively, getMargins, getModelElement, getOccupiedArea, getOwnProperties, getOwnProperty, getPaddings, getParent, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, getPropertyAsTransparentColor, hasAbsoluteUnitValue, hasOwnOrModelProperty, hasOwnProperty, hasProperty, initElementAreas, isAbsolutePosition, isFixedLayout, isFlushed, isKeepTogether, isNotFittingHeight, isNotFittingLayoutArea, isNotFittingWidth, isPositioned, isRelativePosition, isStaticLayout, move, overrideHeightProperties, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveUnitValue, retrieveWidth, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPointsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected AbstractOneLineTextFieldRenderer(IFormField modelElement)
AbstractOneLineTextFieldRenderer instance.
modelElement - the model element
public float getAscent()
public float getDescent()
protected void cropContentLines(Listlines, com.itextpdf.kernel.geom.Rectangle bBox)
lines - a list of lines
bBox - the bounding box
protected void updateParagraphHeight()
Copyright © 1998–2019 iText Group NV. All rights reserved.