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 class
LegendLayout.Corner
-
Field Summary
Fields Modifier and Type Field Description Color
backgroundColor
Color of legend background.Color
borderColor
Color of legend border.int
boxMarginX
External margin : distance between legend border canvas border.int
boxMarginY
External margin : distance between legend border canvas border.LegendLayout.Corner
corner
Legend position.Font
font
Legend font.Color
fontColor
Color of legend font.int
sampleLineLength
Number of pixel for a legend line.int
sampleLineMargin
Minimum pixel distance between a legend text and a legend line.int
txtInterline
Number of pixel between two lines of text in the legend.int
txtMarginX
Internal margin : distance between legend border and text.int
txtMarginY
Internal 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)
-
-