public class SmartMaskI extends MaskI implements SmartShape
SmartShape.PointCallback, SmartShape.Util
ANNOTATIONLINKS, BYTES, DETAILS, FILLCOLOR, FILLRULE, FONTFAMILY, FONTSIZE, FONTSTYLE, HEIGHT, LOCKED, PIXELS, ROI, STROKECOLOR, STROKEDASHARRAY, STROKEWIDTH, TEXTVALUE, THEC, THET, THEZ, TRANSFORM, WIDTH, X, Y
__ids, bytes, height, pixels, serialVersionUID, textValue, width, x, y
annotationLinksCountPerOwner, annotationLinksLoaded, annotationLinksSeq, fillColor, fillRule, fontFamily, fontSize, fontStyle, locked, roi, strokeColor, strokeDashArray, strokeWidth, theC, theT, theZ, transform, version
Constructor and Description |
---|
SmartMaskI() |
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<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, getBytes, getDetails, getFillColor, getFillRule, getFontFamily, getFontSize, getFontStyle, getHeight, getId, getLocked, getPixels, 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, setBytes, setFillColor, setFillRule, setFontFamily, setFontSize, setFontStyle, setHeight, setId, setLocked, setPixels, setRoi, setStrokeColor, setStrokeDashArray, setStrokeWidth, setTextValue, setTheC, setTheT, setTheZ, setTransform, setVersion, setWidth, setX, setY, shallowCopy, sizeOfAnnotationLinks, throwNullCollectionException, toggleCollectionsLoaded, unlinkAnnotation, unload, unloadAnnotationLinks, unloadBytes, unloadCollections, unloadDetails, unloadFillColor, unloadFillRule, unloadFontFamily, unloadFontSize, unloadFontStyle, unloadHeight, unloadLocked, unloadPixels, unloadRoi, unloadStrokeColor, unloadStrokeDashArray, unloadStrokeWidth, unloadTextValue, unloadTheC, unloadTheT, unloadTheZ, unloadTransform, unloadWidth, unloadX, unloadY
___getBytes, ___getHeight, ___getPixels, ___getTextValue, ___getWidth, ___getX, ___getY, ___setBytes, ___setHeight, ___setPixels, ___setTextValue, ___setWidth, ___setX, ___setY, __dispatch, __readImpl, __writeImpl, clone, getBytes, getHeight, getPixels, getTextValue, getWidth, getX, getY, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, setBytes, setHeight, setPixels, 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, __read, __read, __readImpl, __write, __write, __writeImpl, 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
getDetails, getId, isAnnotated, isGlobal, isLink, isLoaded, isMutable, proxy, setId, shallowCopy, unload, unloadCollections, unloadDetails
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<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