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
FieldsModifier and TypeFieldDescriptionprotected ColorColor of legend background.protected ColorColor of legend border.protected FontLegend font.protected ColorColor of legend font.protected intNumber of pixel for a legend line.protected intMinimum pixel distance between a legend text and a legend line.protected intNumber of pixel between two lines of text in the legend.protected intInternal margin : distance between legend border and text.protected intInternal margin : distance between legend border and text.Fields inherited from class org.jzy3d.plot3d.rendering.legends.overlay.LegendLayout
corner, margin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFont()intintintintintvoidsetBackgroundColor(Color backgroundColor) voidsetBorderColor(Color borderColor) voidvoidsetFontColor(Color fontColor) voidsetSampleLineLength(int sampleLineLength) voidsetSampleLineMargin(int sampleLineMargin) voidsetTxtInterline(int txtInterline) voidsetTxtMarginX(int txtMarginX) voidsetTxtMarginY(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
-