|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.davisor.graphics.BetterPath.Segment
BetterPath.Segment implements a path segment for the principal shape path storage mechanism.
BetterPath.Iterator,
Serialized Form| Field Summary | |
protected double[] |
M_coords
Segment coordinates. |
protected int |
M_type
Segment type. |
| Constructor Summary | |
protected |
BetterPath.Segment(int type,
double[] coords)
Creates a new segment. |
protected |
BetterPath.Segment(int type,
java.util.List coords)
Extracts segment information from segment type and coordinate list. |
protected |
BetterPath.Segment(java.awt.geom.PathIterator iterator)
Extract segment information from the iterator current segment. |
| Method Summary | |
java.lang.String |
toString()
Gets the string representation of current path segment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected double[] M_coords
protected int M_type
| Constructor Detail |
protected BetterPath.Segment(java.awt.geom.PathIterator iterator)
protected BetterPath.Segment(int type,
double[] coords)
protected BetterPath.Segment(int type,
java.util.List coords)
type - segment type, as defined by Java PathIteratorcoords - a list of coordinate string or double values| Method Detail |
public java.lang.String toString()
BetterPath.points(int),
BetterPath.prefix(int),
BetterPath.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||