public class LegendLabel extends Object implements Serializable
| Constructor and Description |
|---|
LegendLabel(Font labelFont,
Point position,
String Label)
Default Constructor providing the Font, position and String used when writing this label.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(org.apache.batik.svggen.SVGGraphics2D svg)
Draw the Label in the given
SVGGraphics2D context |
void |
draw(org.apache.batik.svggen.SVGGraphics2D svg,
String Label)
Draw the Label in the given
SVGGraphics2D context |
public String Label
public void draw(org.apache.batik.svggen.SVGGraphics2D svg)
SVGGraphics2D contextsvg - the SVGGraphics2D context to draw inpublic void draw(org.apache.batik.svggen.SVGGraphics2D svg,
String Label)
SVGGraphics2D contextsvg - the SVGGraphics2D context to draw inLabel - The label to write in the context.Copyright © 2018. All rights reserved.