Package omero.model
Interface SmartShape.PointCallback
-
- Enclosing interface:
- SmartShape
public static interface SmartShape.PointCallback
Callback interface passed every point which is within the area of this shape. This prevents having all the points in memory at the same time. An implementation that would like to collect all the points can do something like:final List<Integer> xs = ...; final List<Integer> ys = ...; PointCallback cb = new PointCallback(){ void handle(int x, int y) { xs.add(x); ys.add(y); }; };
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(int x, int y)
-