Class LegendLayout
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
-
public class LegendLayout extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegendLayout.Corner
-
Field Summary
Fields Modifier and Type Field Description ColorbackgroundColorColor of legend background.ColorborderColorColor of legend border.intboxMarginXExternal margin : distance between legend border canvas border.intboxMarginYExternal margin : distance between legend border canvas border.LegendLayout.CornercornerLegend position.FontfontLegend font.ColorfontColorColor of legend font.intsampleLineLengthNumber of pixel for a legend line.intsampleLineMarginMinimum pixel distance between a legend text and a legend line.inttxtInterlineNumber of pixel between two lines of text in the legend.inttxtMarginXInternal margin : distance between legend border and text.inttxtMarginYInternal margin : distance between legend border and text.
-
Constructor Summary
Constructors Constructor Description LegendLayout()
-
-
-
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.
-
corner
public LegendLayout.Corner corner
Legend position.
-
font
public Font font
Legend font. Can be null, or otherwise initialized likenew Font("Helvetica", Font.PLAIN, 11)
-
-