public class ViewScalingControl extends Object implements ScalingControl
| Constructor and Description |
|---|
ViewScalingControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
scale(VisualizationServer<?,?> vv,
float amount,
Point2D from)
zoom the display in or out, depending on the direction of the
mouse wheel motion.
|
public void scale(VisualizationServer<?,?> vv, float amount, Point2D from)
scale in interface ScalingControlvv - the VisualizationVieweramount - how much to adjust scale byfrom - where to adjust scale fromCopyright © 2016. All rights reserved.