Class EllipticalBeadRenderer

  • All Implemented Interfaces:
    java.io.Serializable, BeadFeatureRenderer, FeatureRenderer, Changeable

    public class EllipticalBeadRenderer
    extends AbstractBeadRenderer

    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:
    Serialized Form
    • Field Detail

      • 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.
    • Constructor Detail

      • EllipticalBeadRenderer

        public EllipticalBeadRenderer()
        Creates a new EllipticalBeadRenderer object with the default settings.
      • EllipticalBeadRenderer

        public EllipticalBeadRenderer​(double beadDepth,
                                      double beadDisplacement,
                                      java.awt.Paint beadOutline,
                                      java.awt.Paint beadFill,
                                      java.awt.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.