public interface SmartShape
Shape
hierarchy.Modifier and Type | Interface and Description |
---|---|
static interface |
SmartShape.PointCallback
Callback interface passed every point which is within the area of this
shape.
|
static class |
SmartShape.Util
Utility class used as a mixin by all of the
SmartShape
implementations. |
Modifier and Type | Method and Description |
---|---|
void |
areaPoints(SmartShape.PointCallback action)
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.
|
void areaPoints(SmartShape.PointCallback action)
SmartShape.PointCallback
with all of the x/y coordinates which are
within the shape.action
- the callback to callShape asAwtShape()
SmartShape
to a Shape
. This
is useful for determining paths and included points.List<omero.model.Point> asPoints()
SmartShape
via points.void randomize(Random random)
random
- a random number generator
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.