public class OverlayLegendRenderer extends Object implements Renderer2d
Modifier and Type | Field and Description |
---|---|
protected List<Legend> |
info |
protected LegendLayout |
layout |
Constructor and Description |
---|
OverlayLegendRenderer(List<Legend> info) |
Modifier and Type | Method and Description |
---|---|
List<Legend> |
getInfo() |
LegendLayout |
getLayout() |
protected int |
maxStringWidth(FontMetrics fm) |
void |
paint(Graphics g,
int canvasWidth,
int canvasHeight) |
void |
setInfo(List<Legend> info) |
void |
setLayout(LegendLayout layout) |
protected LegendLayout layout
public void paint(Graphics g, int canvasWidth, int canvasHeight)
paint
in interface Renderer2d
protected int maxStringWidth(FontMetrics fm)
public LegendLayout getLayout()
public void setLayout(LegendLayout layout)
Copyright © 2018. All rights reserved.