Class RoundRectangularBeadRenderer

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

    public class RoundRectangularBeadRenderer
    extends AbstractBeadRenderer
    RoundRectangularBeadRenderer renders features as rectangles with rounded corners. Their outline and fill Paint, Stroke, feature depth, Y-axis displacement are configurable.
    Since:
    1.2
    Author:
    Keith James
    See Also:
    Serialized Form
    • Field Detail

      • rect

        protected java.awt.geom.RoundRectangle2D rect
      • arcWidth

        protected double arcWidth
      • arcHeight

        protected double arcHeight
    • Constructor Detail

      • RoundRectangularBeadRenderer

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

        public RoundRectangularBeadRenderer​(double beadDepth,
                                            double beadDisplacement,
                                            java.awt.Paint beadOutline,
                                            java.awt.Paint beadFill,
                                            java.awt.Stroke beadStroke,
                                            double arcWidth,
                                            double arcHeight)
        Creates a new RoundRectangularBeadRenderer.
        Parameters:
        beadDepth - a double.
        beadDisplacement - a double.
        beadOutline - a Paint.
        beadFill - a Paint.
        beadStroke - a Stroke.
        arcWidth - a double value which sets the arc width of the corners.
        arcHeight - a double value which sets the arc height of the corners.