Package idare.imagenode.Utilities
Class LegendLabel
- java.lang.Object
-
- idare.imagenode.Utilities.LegendLabel
-
- All Implemented Interfaces:
Serializable
public class LegendLabel extends Object implements Serializable
Class that represents a LegendLabel, which can be drawn in a specific graphics context.- Author:
- Thomas Pfau
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegendLabel(Font labelFont, Point position, String Label)
Default Constructor providing the Font, position and String used when writing this label.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(org.apache.batik.svggen.SVGGraphics2D svg)
Draw the Label in the givenSVGGraphics2D
contextvoid
draw(org.apache.batik.svggen.SVGGraphics2D svg, String Label)
Draw the Label in the givenSVGGraphics2D
context
-
-
-
Field Detail
-
Label
public String Label
-
-
Method Detail
-
draw
public void draw(org.apache.batik.svggen.SVGGraphics2D svg)
Draw the Label in the givenSVGGraphics2D
context- Parameters:
svg
- theSVGGraphics2D
context to draw in
-
draw
public void draw(org.apache.batik.svggen.SVGGraphics2D svg, String Label)
Draw the Label in the givenSVGGraphics2D
context- Parameters:
svg
- theSVGGraphics2D
context to draw inLabel
- The label to write in the context.
-
-