public interface SmartShape
Shape hierarchy.| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | SmartShape.PointCallbackCallback interface passed every point which is within the area of this
 shape. | 
| static class  | SmartShape.UtilUtility class used as a mixin by all of the  SmartShapeimplementations. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | areaPoints(SmartShape.PointCallback action)Calls the  SmartShape.PointCallbackwith all of the x/y coordinates which are
 within the shape. | 
| java.awt.Shape | asAwtShape()Converts the current  SmartShapeto aShape. | 
| java.util.List<Point> | asPoints()Provides some, possibly lossy, bounding polygon of this
  SmartShapevia points. | 
| void | randomize(java.util.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 calljava.awt.Shape asAwtShape()
SmartShape to a Shape. This
 is useful for determining paths and included points.java.util.List<Point> asPoints()
SmartShape via points.void randomize(java.util.Random random)
random - a random number generator