Class HyperbolicTransformer

All Implemented Interfaces:
BidirectionalTransformer, MutableTransformer, ShapeTransformer, ChangeEventSupport
Direct Known Subclasses:
HyperbolicShapeTransformer

public class HyperbolicTransformer extends LensTransformer implements MutableTransformer
HyperbolicTransformer wraps a MutableAffineTransformer and modifies the transform and inverseTransform methods so that they create a fisheye projection of the graph points, with points near the center spread out and points near the edges collapsed onto the circumference of an ellipse. HyperbolicTransformer is not an affine transform, but it uses an affine transform to cause translation, scaling, rotation, and shearing while applying a non-affine hyperbolic filter in its transform and inverseTransform methods.
  • Constructor Details

    • HyperbolicTransformer

      public HyperbolicTransformer(Component component)
      create an instance, setting values from the passed component and registering to listen for size changes on the component
      Parameters:
      component - the component used for rendering
    • HyperbolicTransformer

      public HyperbolicTransformer(Component component, MutableTransformer delegate)
      Create an instance with a possibly shared transform.
      Parameters:
      component - the component used for rendering
      delegate - the transformer to use
  • Method Details