Package org.jzy3d.plot3d.rendering.view
Class AWTShapeRenderer
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
-
- org.jzy3d.plot3d.rendering.view.AWTShapeRenderer
-
- All Implemented Interfaces:
AWTRenderer2d
public class AWTShapeRenderer 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 Color
color
protected LegendLayout
layout
protected Shape
shape
protected int
shapeHeight
protected int
shapeWidth
-
Fields inherited from class org.jzy3d.plot3d.rendering.view.AbstractAWTRenderer2d
view
-
-
Constructor Summary
Constructors Constructor Description AWTShapeRenderer(Shape shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor()
LegendLayout
getLayout()
void
paint(Graphics g, int canvasWidth, int canvasHeight)
void
setColor(Color color)
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
-
shape
protected Shape shape
-
layout
protected LegendLayout layout
-
color
protected Color color
-
shapeWidth
protected int shapeWidth
-
shapeHeight
protected int shapeHeight
-
-
Constructor Detail
-
AWTShapeRenderer
public AWTShapeRenderer(Shape shape)
-
-
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)
-
getColor
public Color getColor()
-
setColor
public void setColor(Color color)
-
-