Class LineLegendLayout
java.lang.Object
org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
org.jzy3d.plot3d.rendering.legends.overlay.LineLegendLayout
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
LegendLayout.Corner
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
Color of legend background.protected Color
Color of legend border.protected Font
Legend font.protected Color
Color of legend font.protected int
Number of pixel for a legend line.protected int
Minimum pixel distance between a legend text and a legend line.protected int
Number of pixel between two lines of text in the legend.protected int
Internal margin : distance between legend border and text.protected int
Internal margin : distance between legend border and text.Fields inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
corner, margin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFont()
int
int
int
int
int
void
setBackgroundColor
(Color backgroundColor) void
setBorderColor
(Color borderColor) void
void
setFontColor
(Color fontColor) void
setSampleLineLength
(int sampleLineLength) void
setSampleLineMargin
(int sampleLineMargin) void
setTxtInterline
(int txtInterline) void
setTxtMarginX
(int txtMarginX) void
setTxtMarginY
(int txtMarginY) Methods inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
getCorner, getMargin, setCorner, setMargin
-
Field Details
-
txtMarginX
protected int txtMarginXInternal margin : distance between legend border and text. -
txtMarginY
protected int txtMarginYInternal margin : distance between legend border and text. -
txtInterline
protected int txtInterlineNumber of pixel between two lines of text in the legend. -
sampleLineMargin
protected int sampleLineMarginMinimum pixel distance between a legend text and a legend line. -
sampleLineLength
protected int sampleLineLengthNumber of pixel for a legend line. -
fontColor
Color of legend font. -
borderColor
Color of legend border. -
backgroundColor
Color of legend background. Translucent if none. -
font
Legend font. Can be null, or otherwise initialized likenew 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
-
setFontColor
-
getBorderColor
-
setBorderColor
-
getBackgroundColor
-
setBackgroundColor
-
getFont
-
setFont
-