Class LegendLayout


  • public class LegendLayout
    extends Object
    • Field Detail

      • boxMarginX

        public int boxMarginX
        External margin : distance between legend border canvas border.
      • boxMarginY

        public int boxMarginY
        External margin : distance between legend border canvas border.
      • txtMarginX

        public int txtMarginX
        Internal margin : distance between legend border and text.
      • txtMarginY

        public int txtMarginY
        Internal margin : distance between legend border and text.
      • txtInterline

        public int txtInterline
        Number of pixel between two lines of text in the legend.
      • sampleLineMargin

        public int sampleLineMargin
        Minimum pixel distance between a legend text and a legend line.
      • sampleLineLength

        public int sampleLineLength
        Number of pixel for a legend line.
      • fontColor

        public Color fontColor
        Color of legend font.
      • borderColor

        public Color borderColor
        Color of legend border.
      • backgroundColor

        public Color backgroundColor
        Color of legend background. Translucent if none.
      • font

        public Font font
        Legend font. Can be null, or otherwise initialized like new Font("Helvetica", Font.PLAIN, 11)
    • Constructor Detail

      • LegendLayout

        public LegendLayout()