public class LineTo extends PathCommand
Modifier and Type | Field and Description |
---|---|
float |
x |
float |
y |
isRelative
Constructor and Description |
---|
LineTo()
Creates a new instance of MoveTo
|
LineTo(boolean isRelative,
float x,
float y) |
Modifier and Type | Method and Description |
---|---|
void |
appendPath(java.awt.geom.GeneralPath path,
BuildHistory hist) |
int |
getNumKnotsAdded() |
java.lang.String |
toString() |
public LineTo()
public LineTo(boolean isRelative, float x, float y)
public void appendPath(java.awt.geom.GeneralPath path, BuildHistory hist)
appendPath
in class PathCommand
public int getNumKnotsAdded()
getNumKnotsAdded
in class PathCommand
public java.lang.String toString()
toString
in class java.lang.Object