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 |
void |
handle(int x,
int y)
|
handle
void handle(int x,
int y)
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.