|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmartShape
Orthogonal interface hierarchy of types for working with the
Shape
hierarchy.
Nested Class Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
areaPoints(SmartShape.PointCallback action)
Calls the SmartShape.PointCallback with all of the x/y coordinates which are
within the shape. |
Shape |
asAwtShape()
Converst 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. |
Method Detail |
---|
void areaPoints(SmartShape.PointCallback action)
SmartShape.PointCallback
with all of the x/y coordinates which are
within the shape.
Shape 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.