|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.geom.Shape
com.livescribe.geom.PolyLine
public class PolyLine
This class describes a multi-segment line, or polyline.
| Field Summary |
|---|
| Fields inherited from class com.livescribe.geom.Shape |
|---|
COORD_MAX, COORD_MIN, INTERSECT_CLIP, INTERSECT_EXTERNAL, INTERSECT_INTERNAL1, INTERSECT_INTERNAL2, SHAPE_COMPOSITE, SHAPE_ELLIPSE, SHAPE_LINESEGMENT, SHAPE_POINT, SHAPE_POLYGON, SHAPE_POLYLINE, SHAPE_RECTANGLE, SHAPE_STROKE, type, vertex |
| Constructor Summary | |
|---|---|
PolyLine()
Creates a new polyline having no points. |
|
PolyLine(int n)
Creates a new polyline having n points set to (0,0). |
|
PolyLine(int[] v)
Creates a new polyline having the specified points. |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class com.livescribe.geom.Shape |
|---|
contains, getBoundingBox, getNumberofVertices, getNumberOfVertices, getSize, getType, getUnion, getX, getXY, getY, intersectsWith, setVertexArray, setX, setXY, setXY, setY |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PolyLine()
The internal Shape.vertex array is set to null.
public PolyLine(int n)
n points set to (0,0).
n - the number of pointspublic PolyLine(int[] v)
v - the vertex array| Method Detail |
|---|
public String toString()
toString in class Shape
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||