public static class GJAnnotation.LineAnnotation extends GJAnnotation
GJAnnotation.ArrowAnnotation, GJAnnotation.LineAnnotation, GJAnnotation.ShapeAnnotation, GJAnnotation.TextAnnotation
Constructor and Description |
---|
GJAnnotation.LineAnnotation()
Default constructor
|
GJAnnotation.LineAnnotation(double x1,
double y1,
double x2,
double y2)
Creates a line between the point x1,y1 and x2,y2.
|
GJAnnotation.LineAnnotation(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Create a line using quadTo(x1,y1,x2,y2,x3,y3).
|
createArrow, createArrow, createBox, createEllipse, createLine, createLine, createShape, createText, getExtra, getFill, getFont, getLineColor, getLineStroke, getLineTextPosition, getMarker, getName, getParentGraph, getPath, getText, getTextBackground, getTextColor, getXData, getYData, paintAnnotation, remove, remove, setExtra, setFill, setFont, setLineColor, setLineStroke, setLineTextPosition, setMarker, setName, setParentGraph, setPath, setText, setTextBackground, setTextColor, setXData, setYData
public GJAnnotation.LineAnnotation()
public GJAnnotation.LineAnnotation(double x1, double y1, double x2, double y2)
x1
- y1
- x2
- y2
- public GJAnnotation.LineAnnotation(double x1, double y1, double x2, double y2, double x3, double y3)
x1
- y1
- x2
- y2
- x3
- y3
-