Markprotected static class BasicTextPainter.BasicMark extends java.lang.Object implements Mark
| Modifier | Constructor | Description |
|---|---|---|
protected |
BasicMark(TextNode node,
TextHit hit) |
Constructs a new Mark with the specified parameters.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCharIndex() |
Returns the index of the character that has been hit.
|
TextHit |
getHit() |
|
TextNode |
getTextNode() |
public TextHit getHit()
public TextNode getTextNode()
getTextNode in interface Markpublic int getCharIndex()
getCharIndex in interface MarkCopyright ? 2018 Apache Software Foundation. All Rights Reserved.