Class EllipticalBeadRenderer

All Implemented Interfaces:
Serializable, BeadFeatureRenderer, FeatureRenderer, Changeable

EllipticalBeadRenderer renders features as simple ellipses. Their outline and fill Paint, Stroke, feature depth, Y-axis displacement are configurable. Also configurable is the minimum ratio of long axis to short axis of the ellipse - this prevents long features also becoming ever wider and obscuring neighbours.

Since:
1.2
Author:
Keith James
See Also:
  • Field Details

    • RATIO

      public static final ChangeType RATIO
      Constant RATIO indicating a change to the minimum allowed ratio of long axis to short axis of the features.
    • dimensionRatio

      protected double dimensionRatio
  • Constructor Details

    • EllipticalBeadRenderer

      Creates a new EllipticalBeadRenderer object with the default settings.
    • EllipticalBeadRenderer

      public EllipticalBeadRenderer(double beadDepth, double beadDisplacement, Paint beadOutline, Paint beadFill, Stroke beadStroke, double dimensionRatio)
      Creates a new EllipticalBeadRenderer.
      Parameters:
      beadDepth - a double.
      beadDisplacement - a double.
      beadOutline - a Paint.
      beadFill - a Paint.
      beadStroke - a Stroke.
      dimensionRatio - a double.
  • Method Details