Package org.jzy3d.plot3d.rendering.view
Class AWTImageRenderer
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
-
- org.jzy3d.plot3d.rendering.view.AWTImageRenderer
-
- All Implemented Interfaces:
AWTRenderer2d
public class AWTImageRenderer extends AbstractAWTRenderer2d implements AWTRenderer2d
An AWT post renderer able to render an image on top of a chart according to a legend
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImage
image
protected int
imageHeight
protected int
imageWidth
protected LegendLayout
layout
-
Fields inherited from class org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
view
-
-
Constructor Summary
Constructors Constructor Description AWTImageRenderer(BufferedImage image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegendLayout
getLayout()
void
paint(Graphics g, int canvasWidth, int canvasHeight)
void
setLayout(LegendLayout 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 Detail
-
image
protected BufferedImage image
-
layout
protected LegendLayout layout
-
imageWidth
protected int imageWidth
-
imageHeight
protected int imageHeight
-
-
Constructor Detail
-
AWTImageRenderer
public AWTImageRenderer(BufferedImage image)
-
-
Method Detail
-
paint
public void paint(Graphics g, int canvasWidth, int canvasHeight)
- Specified by:
paint
in interfaceAWTRenderer2d
-
getLayout
public LegendLayout getLayout()
-
setLayout
public void setLayout(LegendLayout layout)
-
-