Package gov.nih.mipav.model.file
Class MetadataExtractor.Knot
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.Knot
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.Knot extends java.lang.ObjectRepresents a knot created by Photoshop:- Linked knot
- Unlinked knot
- Author:
- Payton Garland
-
-
Constructor Summary
Constructors Constructor Description Knot(java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetPoint(int index)Get an individual coordinate value (x or y)java.lang.StringgetType()Get the type of knot (linked or unlinked)voidsetPoint(int index, double point)Add an individual coordinate value (x or y) to points array (6 points per knot)
-
-
-
Method Detail
-
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
public java.lang.String getType()
Get the type of knot (linked or unlinked)- Returns:
- the type of knot
-
-