public class CrossoverScalingControl extends Object implements ScalingControl
| Modifier and Type | Field and Description |
|---|---|
protected double |
crossover
Point where scale crosses over from view to layout.
|
| Constructor and Description |
|---|
CrossoverScalingControl() |
| Modifier and Type | Method and Description |
|---|---|
double |
getCrossover() |
void |
scale(VisualizationServer<?,?> vv,
float amount,
Point2D at)
zoom the display in or out
|
void |
setCrossover(double crossover)
Sets the crossover point to the specified value.
|
protected double crossover
public void setCrossover(double crossover)
crossover - the crossover point to use (defaults to 1.0)public double getCrossover()
public void scale(VisualizationServer<?,?> vv, float amount, Point2D at)
ScalingControlscale in interface ScalingControlvv - the VisualizationVieweramount - how much to adjust scale byat - where to adjust scale fromCopyright © 2016. All rights reserved.