public class Cubic extends PathCommand
Modifier and Type | Field and Description |
---|---|
float |
k1x |
float |
k1y |
float |
k2x |
float |
k2y |
float |
x |
float |
y |
isRelative
Constructor and Description |
---|
Cubic()
Creates a new instance of MoveTo
|
Cubic(boolean isRelative,
float k1x,
float k1y,
float k2x,
float k2y,
float x,
float y) |
Modifier and Type | Method and Description |
---|---|
void |
appendPath(GeneralPath path,
BuildHistory hist) |
int |
getNumKnotsAdded() |
String |
toString() |
public float k1x
public float k1y
public float k2x
public float k2y
public float x
public float y
public Cubic()
public Cubic(boolean isRelative, float k1x, float k1y, float k2x, float k2y, float x, float y)
public void appendPath(GeneralPath path, BuildHistory hist)
appendPath
in class PathCommand
public int getNumKnotsAdded()
getNumKnotsAdded
in class PathCommand
Copyright ?? 2011-2020 Kitfox Studios. All Rights Reserved.