public class PageTargetCountElement
extends com.itextpdf.layout.element.Text
Text
implementation to be used for the page target-counter.
Constructor and Description |
---|
PageTargetCountElement(String target)
Instantiates a new PageTargetCountElement .
|
PageTargetCountElement(String target, CounterDigitsGlyphStyle digitsGlyphStyle)
Instantiates a new PageTargetCountElement .
|
Modifier and Type | Method and Description |
---|---|
CounterDigitsGlyphStyle |
getDigitsGlyphStyle()
Gets glyph style for digits.
|
String |
getTarget()
Gets element's target.
|
com.itextpdf.layout.renderer.IRenderer |
makeNewRenderer() |
getAccessibilityProperties, getHorizontalScaling, getText, getTextRise, setHorizontalScaling, setSkew, setText, setTextRise
addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumber
deleteOwnProperty, getDefaultProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFont, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PageTargetCountElement(String target)
PageTargetCountElement
.
target
- name of the corresponding target
public PageTargetCountElement(String target, CounterDigitsGlyphStyle digitsGlyphStyle)
PageTargetCountElement
.
target
- name of the corresponding target
digitsGlyphStyle
- digits glyph style
public String getTarget()
public CounterDigitsGlyphStyle getDigitsGlyphStyle()
public com.itextpdf.layout.renderer.IRenderer makeNewRenderer()
makeNewRenderer
in class com.itextpdf.layout.element.Text
Copyright © 1998–2021 iText Group NV. All rights reserved.