public class LegendLayoutBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BEST_ASPECT_RATIO_COLUMNS_NUMBER |
static int |
FEWER_SUITABLE_COLUMNS_NUMBER |
Constructor and Description |
---|
LegendLayoutBuilder(LegendFormat legendFormat,
LegendRenderingHints renderingHints) |
Modifier and Type | Method and Description |
---|---|
LegendLayout |
buildLayout(LegendData legendData,
Dimension legendMaxSize,
int columnsNumber,
LegendImageRetriever.ErrorBehavior errorBehavior) |
public static final int BEST_ASPECT_RATIO_COLUMNS_NUMBER
public static final int FEWER_SUITABLE_COLUMNS_NUMBER
public LegendLayoutBuilder(LegendFormat legendFormat, LegendRenderingHints renderingHints)
public LegendLayout buildLayout(LegendData legendData, Dimension legendMaxSize, int columnsNumber, LegendImageRetriever.ErrorBehavior errorBehavior) throws java.io.IOException
java.io.IOException