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 PolygonDataasDataObject()Returns anPolygonDatacorresponding to the handled object.java.util.List<java.lang.Integer>getMaskPoints()Returns the points in the polygon.default java.awt.ShapetoAWTShape()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 anPolygonDatacorresponding to the handled object.- Specified by:
asDataObjectin interfaceRemoteObject- Specified by:
asDataObjectin interfaceShape- Returns:
- See above.
-
toAWTShape
default java.awt.Shape toAWTShape()
Converts the shape to anShape.- Specified by:
toAWTShapein interfaceShape- Returns:
- The converted AWT Shape.
-
getMaskPoints
java.util.List<java.lang.Integer> getMaskPoints()
Returns the points in the polygon.- Returns:
- See above.
-
-