| |
|
| java.lang.Object org.apache.batik.gvt.text.TextHit
Constructor Summary | |
public | TextHit(int charIndex, boolean leadingEdge) Constructs a TextHit with the specified values.
Parameters: charIndex - The index of the character that has beenhit. |
Method Summary | |
public int | getCharIndex() Returns the index of the character that has been hit. | public boolean | isLeadingEdge() Returns whether on not the character has been hit on its leading edge. |
TextHit | public TextHit(int charIndex, boolean leadingEdge)(Code) | | Constructs a TextHit with the specified values.
Parameters: charIndex - The index of the character that has beenhit. In the case of bidirectional text this will be the logicalcharacter index not the visual index. The index is relative towhole text within the selected TextNode. Parameters: leadingEdge - Indicates which side of the character hasbeen hit. |
getCharIndex | public int getCharIndex()(Code) | | Returns the index of the character that has been hit.
The character index. |
isLeadingEdge | public boolean isLeadingEdge()(Code) | | Returns whether on not the character has been hit on its leading edge.
Whether on not the character has been hit on its leading edge. |
|
|
|