public class Knot extends Object
Modifier and Type | Method and Description |
---|---|
double |
getPoint(int index)
Get an individual coordinate value (x or y)
|
String |
getType()
Get the type of knot (linked or unlinked)
|
void |
setPoint(int index,
double point)
Add an individual coordinate value (x or y) to
points array (6 points per knot)
|
public Knot(String type)
public void setPoint(int index, double point)
index
- location of point to be added in pointspoint
- coordinate value to be added to pointspublic double getPoint(int index)
public String getType()
Copyright © 2010 - 2020 Adobe. All Rights Reserved