public class PolygonData extends ShapeData
READONLY_FLAG, settings| Constructor and Description |
|---|
PolygonData()
Creates a new instance of PolygonData.
|
PolygonData(List<Point2D.Double> points,
List<Point2D.Double> points1,
List<Point2D.Double> points2,
List<Integer> maskList)
Creates a new instance of the PolygonData, set the points in the polygon.
|
PolygonData(omero.model.Shape shape)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getMaskPoints()
Returns the points in the polygon.
|
List<Point2D.Double> |
getPoints()
Returns the points in the polygon.
|
List<Point2D.Double> |
getPoints1()
Returns the points in the polygon.
|
List<Point2D.Double> |
getPoints2()
Returns the points in the polygon.
|
String |
getText()
Returns the text of the shape.
|
void |
setPoints(List<Point2D.Double> points,
List<Point2D.Double> points1,
List<Point2D.Double> points2,
List<Integer> maskList)
Sets the points in the polygon.
|
void |
setText(String text)
Sets the text of the shape.
|
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, isVisible, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setVisible, setZ, toNumber, toPointsasAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setId, setValue, setVersion, timeOfEvent, toStringpublic PolygonData(omero.model.Shape shape)
shape - The shape this object represents.public PolygonData()
public PolygonData(List<Point2D.Double> points, List<Point2D.Double> points1, List<Point2D.Double> points2, List<Integer> maskList)
points - The points in the polygon.points1 - The points in the polygon.points2 - The points in the polygon.maskList - The points in the polygon.public String getText()
public void setText(String text)
text - See above.public List<Point2D.Double> getPoints()
public List<Point2D.Double> getPoints1()
public List<Point2D.Double> getPoints2()
public List<Integer> getMaskPoints()
public void setPoints(List<Point2D.Double> points, List<Point2D.Double> points1, List<Point2D.Double> points2, List<Integer> maskList)
points - The points in the polygon.points1 - The points in the polygon.points2 - The points in the polygon.maskList - The points in the polygon.
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.