org.apache.batik.gvt.renderer

Class BasicTextPainter.BasicMark

protected static class BasicTextPainter.BasicMark extends Object implements Mark

This TextPainter's implementation of the Mark interface.
Constructor Summary
protected BasicMark(TextNode node, TextHit hit)
Constructs a new Mark with the specified parameters.
Method Summary
intgetCharIndex()
Returns the index of the character that has been hit.
TextHitgetHit()
TextNodegetTextNode()

Constructor Detail

BasicMark

protected BasicMark(TextNode node, TextHit hit)
Constructs a new Mark with the specified parameters.

Method Detail

getCharIndex

public int getCharIndex()
Returns the index of the character that has been hit.

Returns: The character index.

getHit

public TextHit getHit()

getTextNode

public TextNode getTextNode()
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.