public class PolygonData extends ShapeData
READONLY_FLAG, settings
Constructor and Description |
---|
PolygonData()
Creates a new instance of PolygonData.
|
PolygonData(java.util.List<java.awt.geom.Point2D.Double> points)
Create a new instance of the PolylineData, set the points in the polyline.
|
PolygonData(omero.model.Shape shape)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
getMaskPoints()
Returns the points in the polygon.
|
java.util.List<java.awt.geom.Point2D.Double> |
getPoints()
Returns the points in the polygon.
|
java.lang.String |
getText()
Returns the text of the shape.
|
void |
setPoints(java.util.List<java.awt.geom.Point2D.Double> points)
Sets the points in the polygon.
|
void |
setText(java.lang.String text)
Sets the text of the shape.
|
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setZ, toNumber, toPoints
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, 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(java.util.List<java.awt.geom.Point2D.Double> points)
points
- See Above.public java.lang.String getText()
public void setText(java.lang.String text)
text
- See above.public java.util.List<java.awt.geom.Point2D.Double> getPoints()
public java.util.List<java.lang.Integer> getMaskPoints()
public void setPoints(java.util.List<java.awt.geom.Point2D.Double> points)
points
- The points in the polygon.