public class SmartRectI extends omero.model.RectangleI implements SmartShape
SmartShape.PointCallback, SmartShape.Util
ANNOTATIONLINKS, DETAILS, FILLCOLOR, FILLRULE, FONTFAMILY, FONTSIZE, FONTSTYLE, HEIGHT, LOCKED, ROI, STROKECOLOR, STROKEDASHARRAY, STROKEWIDTH, TEXTVALUE, THEC, THET, THEZ, TRANSFORM, WIDTH, X, Y
__ids, height, serialVersionUID, textValue, width, x, y
Constructor and Description |
---|
SmartRectI() |
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. |
Shape |
asAwtShape()
Converts the current
SmartShape to a Shape . |
List<omero.model.Point> |
asPoints()
Provides some, possibly lossy, bounding polygon of this
SmartShape via points. |
void |
randomize(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, getHeight, getId, getLocked, getRoi, getStrokeColor, getStrokeDashArray, getStrokeWidth, getTextValue, getTheC, getTheT, getTheZ, getTransform, getVersion, getWidth, getX, getY, isAnnotated, isAnnotationLinksLoaded, isGlobal, isLink, isLoaded, isMutable, iterateAnnotationLinks, linkAnnotation, linkedAnnotationList, proxy, reloadAnnotationLinks, removeAllShapeAnnotationLinkSet, removeShapeAnnotationLink, removeShapeAnnotationLinkFromBoth, setAnnotationLinks, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStyle, setHeight, setId, setLocked, setRoi, setStrokeColor, setStrokeDashArray, setStrokeWidth, setTextValue, setTheC, setTheT, setTheZ, setTransform, setVersion, setWidth, setX, setY, shallowCopy, sizeOfAnnotationLinks, throwNullCollectionException, toggleCollectionsLoaded, unlinkAnnotation, unload, unloadAnnotationLinks, unloadCollections, unloadDetails, unloadFillColor, unloadFillRule, unloadFontFamily, unloadFontSize, unloadFontStyle, unloadHeight, unloadLocked, unloadRoi, unloadStrokeColor, unloadStrokeDashArray, unloadStrokeWidth, unloadTextValue, unloadTheC, unloadTheT, unloadTheZ, unloadTransform, unloadWidth, unloadX, unloadY
___getHeight, ___getTextValue, ___getWidth, ___getX, ___getY, ___setHeight, ___setTextValue, ___setWidth, ___setX, ___setY, __dispatch, __readImpl, __writeImpl, getHeight, getTextValue, getWidth, getX, getY, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setHeight, setTextValue, setWidth, setX, setY
___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 Shape asAwtShape()
SmartShape
SmartShape
to a Shape
. This
is useful for determining paths and included points.asAwtShape
in interface SmartShape
public List<omero.model.Point> asPoints()
SmartShape
SmartShape
via points.asPoints
in interface SmartShape
public void randomize(Random random)
SmartShape
randomize
in interface SmartShape
random
- a random number generator
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.