public class TabStop extends Object
Tab
is inserted. At least one TabStop must be defined on an element if you want to use Tabs
. This object can be added to a Paragraph
with the method Paragraph.addTabStops(com.itextpdf.layout.element.TabStop...)
.
Constructor and Description |
---|
TabStop(float tabPosition)
Creates a TabStop at the appropriate position.
|
TabStop(float tabPosition, TabAlignment tabAlignment)
Creates a TabStop at the appropriate position, with a specified tab alignment.
|
TabStop(float tabPosition, TabAlignment tabAlignment, ILineDrawer tabLeader)
Creates a TabStop at the appropriate position, with a specified tab alignment and an explicitly given line pattern.
|
Modifier and Type | Method and Description |
---|---|
TabAlignment |
getTabAlignment() |
Character |
getTabAnchor() |
ILineDrawer |
getTabLeader() |
float |
getTabPosition() |
void |
setTabAlignment(TabAlignment tabAlignment) |
void |
setTabAnchor(Character tabAnchor) |
void |
setTabLeader(ILineDrawer tabLeader) |
public TabStop(float tabPosition)
tabPosition
- a float
, measured in points
public TabStop(float tabPosition, TabAlignment tabAlignment)
tabPosition
- a float
, measured in points
tabAlignment
- a TabAlignment
value
public TabStop(float tabPosition, TabAlignment tabAlignment, ILineDrawer tabLeader)
tabPosition
- a float
, measured in points
tabAlignment
- a TabAlignment
value
tabLeader
- the ILineDrawer
value, a pattern drawing object
public float getTabPosition()
public TabAlignment getTabAlignment()
public void setTabAlignment(TabAlignment tabAlignment)
public Character getTabAnchor()
public void setTabAnchor(Character tabAnchor)
public ILineDrawer getTabLeader()
public void setTabLeader(ILineDrawer tabLeader)
Copyright © 1998–2020 iText Group NV. All rights reserved.