public class LegendLayout extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LegendLayout.Corner |
Modifier and Type | Field and 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 and Description |
---|
LegendLayout() |
public int boxMarginX
public int boxMarginY
public int txtMarginX
public int txtMarginY
public int txtInterline
public int sampleLineMargin
public int sampleLineLength
public Color fontColor
public Color borderColor
public Color backgroundColor
public LegendLayout.Corner corner
public Font font
new Font("Helvetica", Font.PLAIN, 11)
Copyright © 2018. All rights reserved.