org.apache.batik.gvt.text
public class TextPath extends Object
Constructor Summary | |
---|---|
TextPath(GeneralPath path)
Constructs a TextPath based on the specified path.
|
Method Summary | |
---|---|
float | angleAtLength(float length)
Returns the angle at the specified length
along the path.
|
float | getStartOffset()
Returns the start offset of this text path.
|
float | lengthOfPath()
Returns the total length of the path.
|
Point2D | pointAtLength(float length)
Returns the point that is at the specified length
along the path.
|
void | setStartOffset(float startOffset)
Sets the offset along the path where the first glyph should be rendered.
|
Parameters: path The general path along which text is to be laid.
Parameters: length The length along the path.
Returns: The angle.
Returns: The start offset of this text path.
Returns: The lenght of the path.
Parameters: length The length along the path.
Returns: The point.
Parameters: startOffset An offset from the start of the path.