public interface ZoomDrag
void dragTo(Point p)
p- current mouse position
double boundsAt(Point p)
p. Elements of the result are two-element arrays giving (lower, upper) bounds in one or more dimensions, according to the type of drag. The units should normally be dimensionless: a range of (0,1) indicates the same range as is currently contained by the display region. Bounds may be larger or smaller than the (1,0) interval.
A null return indicates that no legal zoom is represented.
p- current point
Copyright © 2003-2020 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.