public class PolygonData extends ShapeData
READONLY_FLAG, settings
Constructor and Description |
---|
PolygonData()
Creates a new instance of PolygonData.
|
PolygonData(List<Point2D.Double> points)
Create a new instance of the PolylineData, set the points in the polyline.
|
PolygonData(List<Point2D.Double> points,
List<Point2D.Double> points1,
List<Point2D.Double> points2,
List<Integer> maskList)
Deprecated.
|
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()
Deprecated.
|
List<Point2D.Double> |
getPoints2()
Deprecated.
|
String |
getText()
Returns the text of the shape.
|
void |
setPoints(List<Point2D.Double> points)
Sets the points in the polygon.
|
void |
setPoints(List<Point2D.Double> points,
List<Point2D.Double> points1,
List<Point2D.Double> points2,
List<Integer> maskList)
Deprecated.
|
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, toPoints
asAnnotation, 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, toString
public 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 PolygonData(List<Point2D.Double> points)
points
- See Above.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.public void setPoints(List<Point2D.Double> points)
points
- The points in the polygon.
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.