public class LineTo extends Segment
| Constructor and Description |
|---|
LineTo(double x,
double y)
Move to a new current point. Append a straight line segment from the current point to the point (x, y). The new current point is the point the line is drawn to.
|
LineTo(Point lineToPoint)
Create a line to a new point. Append a straight line segment from the current point to the lineToPoint. The new current point is the point the line is drawn to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
Point |
getPoint()
The new current point.
|
void |
setPoint(Point value)
The new current point.
|
java.lang.String |
toString() |
public LineTo(Point lineToPoint)
public LineTo(double x,
double y)