public class SmartLineI extends omero.model.LineI implements SmartShape
SmartShape.PointCallback, SmartShape.Util
ANNOTATIONLINKS, DETAILS, FILLCOLOR, FILLRULE, FONTFAMILY, FONTSIZE, FONTSTYLE, LOCKED, MARKEREND, MARKERSTART, ROI, STROKECOLOR, STROKEDASHARRAY, STROKEWIDTH, TEXTVALUE, THEC, THET, THEZ, TRANSFORM, X1, X2, Y1, Y2
__ids, markerEnd, markerStart, serialVersionUID, textValue, x1, x2, y1, y2
Constructor and Description |
---|
SmartLineI() |
Modifier and Type | Method and Description |
---|---|
void |
areaPoints(SmartShape.PointCallback cb)
Calls the
SmartShape.PointCallback with all of the x/y coordinates which are
within the shape. |
java.awt.Shape |
asAwtShape()
Converts the current
SmartShape to a Shape . |
java.util.List<omero.model.Point> |
asPoints()
Provides some, possibly lossy, bounding polygon of this
SmartShape via points. |
void |
randomize(java.util.Random random)
Initializes this shape with completely random data.
|
addAllShapeAnnotationLinkSet, addShapeAnnotationLink, addShapeAnnotationLinkToBoth, cast, clearAnnotationLinks, copyAnnotationLinks, copyObject, errorIfUnloaded, fillObject, findShapeAnnotationLink, getAnnotationLinks, getAnnotationLinksCountPerOwner, getDetails, getFillColor, getFillRule, getFontFamily, getFontSize, getFontStyle, getId, getLocked, getMarkerEnd, getMarkerStart, getRoi, getStrokeColor, getStrokeDashArray, getStrokeWidth, getTextValue, getTheC, getTheT, getTheZ, getTransform, getVersion, getX1, getX2, getY1, getY2, isAnnotated, isAnnotationLinksLoaded, isGlobal, isLink, isLoaded, isMutable, iterateAnnotationLinks, linkAnnotation, linkedAnnotationList, proxy, reloadAnnotationLinks, removeAllShapeAnnotationLinkSet, removeShapeAnnotationLink, removeShapeAnnotationLinkFromBoth, setAnnotationLinks, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStyle, setId, setLocked, setMarkerEnd, setMarkerStart, setRoi, setStrokeColor, setStrokeDashArray, setStrokeWidth, setTextValue, setTheC, setTheT, setTheZ, setTransform, setVersion, setX1, setX2, setY1, setY2, shallowCopy, sizeOfAnnotationLinks, throwNullCollectionException, toggleCollectionsLoaded, unlinkAnnotation, unload, unloadAnnotationLinks, unloadCollections, unloadDetails, unloadFillColor, unloadFillRule, unloadFontFamily, unloadFontSize, unloadFontStyle, unloadLocked, unloadMarkerEnd, unloadMarkerStart, unloadRoi, unloadStrokeColor, unloadStrokeDashArray, unloadStrokeWidth, unloadTextValue, unloadTheC, unloadTheT, unloadTheZ, unloadTransform, unloadX1, unloadX2, unloadY1, unloadY2
___getMarkerEnd, ___getMarkerStart, ___getTextValue, ___getX1, ___getX2, ___getY1, ___getY2, ___setMarkerEnd, ___setMarkerStart, ___setTextValue, ___setX1, ___setX2, ___setY1, ___setY2, __dispatch, __readImpl, __writeImpl, getMarkerEnd, getMarkerStart, getTextValue, getX1, getX2, getY1, getY2, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setMarkerEnd, setMarkerStart, setTextValue, setX1, setX2, setY1, setY2
___addAllShapeAnnotationLinkSet, ___addShapeAnnotationLink, ___addShapeAnnotationLinkToBoth, ___clearAnnotationLinks, ___copyAnnotationLinks, ___findShapeAnnotationLink, ___getAnnotationLinksCountPerOwner, ___getFillColor, ___getFillRule, ___getFontFamily, ___getFontSize, ___getFontStyle, ___getLocked, ___getRoi, ___getStrokeColor, ___getStrokeDashArray, ___getStrokeWidth, ___getTheC, ___getTheT, ___getTheZ, ___getTransform, ___getVersion, ___linkAnnotation, ___linkedAnnotationList, ___reloadAnnotationLinks, ___removeAllShapeAnnotationLinkSet, ___removeShapeAnnotationLink, ___removeShapeAnnotationLinkFromBoth, ___setFillColor, ___setFillRule, ___setFontFamily, ___setFontSize, ___setFontStyle, ___setLocked, ___setRoi, ___setStrokeColor, ___setStrokeDashArray, ___setStrokeWidth, ___setTheC, ___setTheT, ___setTheZ, ___setTransform, ___setVersion, ___sizeOfAnnotationLinks, ___unlinkAnnotation, ___unloadAnnotationLinks, addAllShapeAnnotationLinkSet, addShapeAnnotationLink, addShapeAnnotationLinkToBoth, clearAnnotationLinks, copyAnnotationLinks, findShapeAnnotationLink, getAnnotationLinksCountPerOwner, getFillColor, getFillRule, getFontFamily, getFontSize, getFontStyle, getLocked, getRoi, getStrokeColor, getStrokeDashArray, getStrokeWidth, getTheC, getTheT, getTheZ, getTransform, getVersion, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, removeAllShapeAnnotationLinkSet, removeShapeAnnotationLink, removeShapeAnnotationLinkFromBoth, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStyle, setLocked, setRoi, setStrokeColor, setStrokeDashArray, setStrokeWidth, setTheC, setTheT, setTheZ, setTransform, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unloadAnnotationLinks
___getDetails, ___getId, ___isAnnotated, ___isGlobal, ___isLink, ___isLoaded, ___isMutable, ___proxy, ___setId, ___shallowCopy, ___unload, ___unloadCollections, ___unloadDetails, getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAllShapeAnnotationLinkSet, addShapeAnnotationLink, addShapeAnnotationLinkToBoth, clearAnnotationLinks, copyAnnotationLinks, findShapeAnnotationLink, getAnnotationLinksCountPerOwner, getFillColor, getFillRule, getFontFamily, getFontSize, getFontStyle, getLocked, getRoi, getStrokeColor, getStrokeDashArray, getStrokeWidth, getTheC, getTheT, getTheZ, getTransform, getVersion, linkAnnotation, linkedAnnotationList, reloadAnnotationLinks, removeAllShapeAnnotationLinkSet, removeShapeAnnotationLink, removeShapeAnnotationLinkFromBoth, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStyle, setLocked, setRoi, setStrokeColor, setStrokeDashArray, setStrokeWidth, setTheC, setTheT, setTheZ, setTransform, setVersion, sizeOfAnnotationLinks, unlinkAnnotation, unloadAnnotationLinks
public void areaPoints(SmartShape.PointCallback cb)
SmartShape
SmartShape.PointCallback
with all of the x/y coordinates which are
within the shape.areaPoints
in interface SmartShape
cb
- the callback to callpublic java.awt.Shape asAwtShape()
SmartShape
SmartShape
to a Shape
. This
is useful for determining paths and included points.asAwtShape
in interface SmartShape
public java.util.List<omero.model.Point> asPoints()
SmartShape
SmartShape
via points.asPoints
in interface SmartShape
public void randomize(java.util.Random random)
SmartShape
randomize
in interface SmartShape
random
- a random number generator
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.