Package com.drew.metadata.photoshop
Class Knot
java.lang.Object
com.drew.metadata.photoshop.Knot
Represents a knot created by Photoshop:
- Linked knot
- Unlinked knot
- Author:
- Payton Garland
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Knot
-
-
Method Details
-
setPoint
public void setPoint(int index, double point) Add an individual coordinate value (x or y) to points array (6 points per knot)- Parameters:
index- location of point to be added in pointspoint- coordinate value to be added to points
-
getPoint
public double getPoint(int index) Get an individual coordinate value (x or y)- Returns:
- an individual coordinate value
-
getType
Get the type of knot (linked or unlinked)- Returns:
- the type of knot
-