Class LineLegendLayout

java.lang.Object
org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
org.jzy3d.plot3d.rendering.legends.overlay.LineLegendLayout

public class LineLegendLayout extends LegendLayout
  • Field Details

    • txtMarginX

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

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

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

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

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

      protected Color fontColor
      Color of legend font.
    • borderColor

      protected Color borderColor
      Color of legend border.
    • backgroundColor

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

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

    • LineLegendLayout

      public LineLegendLayout()
  • Method Details

    • getTxtMarginX

      public int getTxtMarginX()
    • setTxtMarginX

      public void setTxtMarginX(int txtMarginX)
    • getTxtMarginY

      public int getTxtMarginY()
    • setTxtMarginY

      public void setTxtMarginY(int txtMarginY)
    • getTxtInterline

      public int getTxtInterline()
    • setTxtInterline

      public void setTxtInterline(int txtInterline)
    • getSampleLineMargin

      public int getSampleLineMargin()
    • setSampleLineMargin

      public void setSampleLineMargin(int sampleLineMargin)
    • getSampleLineLength

      public int getSampleLineLength()
    • setSampleLineLength

      public void setSampleLineLength(int sampleLineLength)
    • getFontColor

      public Color getFontColor()
    • setFontColor

      public void setFontColor(Color fontColor)
    • getBorderColor

      public Color getBorderColor()
    • setBorderColor

      public void setBorderColor(Color borderColor)
    • getBackgroundColor

      public Color getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
    • getFont

      public Font getFont()
    • setFont

      public void setFont(Font font)