Class OverlayLegendRenderer
java.lang.Object
org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
org.jzy3d.plot3d.rendering.legends.overlay.OverlayLegendRenderer
- All Implemented Interfaces:
AWTRenderer2d
Params - margin - corner - constraints : byDimension (maxWidth) or byText - interligne - font
size / font style
- Author:
- Martin Pernollet
-
Field Summary
Fields inherited from class org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
view
-
Constructor Summary
ConstructorDescriptionOverlayLegendRenderer
(List<Legend> info) OverlayLegendRenderer
(Legend info) OverlayLegendRenderer
(Legend... info) -
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
protected AffineTransform
makeShapeTransform
(Legend line, int textHeight, int yTextPos, int xLineStart) protected int
void
void
paintLegend
(Graphics2D g2d, int textHeight, int textWidthMax, int xTextPos, int yTextPos, Legend line) void
void
setLayout
(LineLegendLayout layout) Methods inherited from class org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
getView, setView
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jzy3d.plot3d.rendering.view.AWTRenderer2d
getView, setView
-
Field Details
-
info
-
layout
-
-
Constructor Details
-
OverlayLegendRenderer
-
OverlayLegendRenderer
-
OverlayLegendRenderer
-
-
Method Details
-
paint
- Specified by:
paint
in interfaceAWTRenderer2d
-
paintLegend
public void paintLegend(Graphics2D g2d, int textHeight, int textWidthMax, int xTextPos, int yTextPos, Legend line) -
makeShapeTransform
protected AffineTransform makeShapeTransform(Legend line, int textHeight, int yTextPos, int xLineStart) -
maxStringWidth
-
getInfo
-
setInfo
-
getLayout
-
setLayout
-