Package | Description |
---|---|
fr.lri.swingstates.canvas |
A package to program new widgets starting from the SwingStates' canvas that offers advanced features for programming interaction (state machines, tags, etc.).
|
Modifier and Type | Method and Description |
---|---|
CSegment |
Canvas.newSegment(double x1,
double y1,
double x2,
double y2)
Creates a new segment and add it to the canvas.
|
CSegment |
Canvas.newSegment(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Creates a new segment and add it to the canvas.
|
CSegment |
CSegment.setPoints(double x1,
double y1,
double x2,
double y2)
Sets the ending points of this segment.
|
CSegment |
CSegment.setPoints(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Sets the ending points of this segment.
|