Package fr.igred.omero.roi
Interface Polygon
-
- All Superinterfaces:
Annotatable
,Polygonal
,RemoteObject
,Shape
- All Known Implementing Classes:
PolygonWrapper
public interface Polygon extends Shape, Polygonal
Interface to handle Polygon shapes on OMERO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PolygonData
asDataObject()
Returns anPolygonData
corresponding to the handled object.java.util.List<java.lang.Integer>
getMaskPoints()
Returns the points in the polygon.default java.awt.Shape
toAWTShape()
Converts the shape to anShape
.-
Methods inherited from interface fr.igred.omero.Annotatable
addAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, linkIfNotLinked, rate, unlink
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
Methods inherited from interface fr.igred.omero.roi.Shape
createTransformedAWTShape, getBoundingBox, getC, getCZT, getFill, getFontSize, getStroke, getT, getText, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setText, setTransform, setTransform, setZ, toAWTTransform, toImageJ
-
-
-
-
Method Detail
-
asDataObject
PolygonData asDataObject()
Returns anPolygonData
corresponding to the handled object.- Specified by:
asDataObject
in interfaceRemoteObject
- Specified by:
asDataObject
in interfaceShape
- Returns:
- See above.
-
toAWTShape
default java.awt.Shape toAWTShape()
Converts the shape to anShape
.- Specified by:
toAWTShape
in interfaceShape
- Returns:
- The converted AWT Shape.
-
getMaskPoints
java.util.List<java.lang.Integer> getMaskPoints()
Returns the points in the polygon.- Returns:
- See above.
-
-