public class ViewScalingControl extends java.lang.Object implements ScalingControl
| Constructor and Description |
|---|
ViewScalingControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
scale(VisualizationServer vv,
float amount,
java.awt.geom.Point2D from)
zoom the display in or out, depending on the direction of the
mouse wheel motion.
|
public void scale(VisualizationServer vv, float amount, java.awt.geom.Point2D from)
scale in interface ScalingControlvv - the VisualizationVieweramount - how much to adjust scale byfrom - where to adjust scale from