Class AbsoluteCrossoverScalingControl

  • All Implemented Interfaces:
    ScalingControl

    public class AbsoluteCrossoverScalingControl
    extends CrossoverScalingControl
    implements ScalingControl
    Scales to the absolute value passed as an argument. It first resets the scaling Functions, then uses the relative CrossoverScalingControl to achieve the absolute value.
    • Constructor Detail

      • AbsoluteCrossoverScalingControl

        public AbsoluteCrossoverScalingControl()
    • Method Detail

      • scale

        public void scale​(VisualizationServer<?,​?> vv,
                          float amount,
                          java.awt.geom.Point2D at)
        Scale to the absolute value passed as 'amount'.
        Specified by:
        scale in interface ScalingControl
        Overrides:
        scale in class CrossoverScalingControl
        Parameters:
        vv - the VisualizationServer used for rendering; provides the layout and view transformers.
        amount - the amount by which to scale
        at - the point of reference for scaling