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 Details

    • shape

      protected Shape shape
    • layout

      protected LegendLayout layout
    • color

      protected Color color
    • shapeWidth

      protected int shapeWidth
    • shapeHeight

      protected int shapeHeight
  • Constructor Details

    • AWTShapeRenderer

      public AWTShapeRenderer(Shape shape)
  • Method Details

    • paint

      public void paint(Graphics g, int canvasWidth, int canvasHeight)
      Specified by:
      paint in interface AWTRenderer2d
    • getLayout

      public LegendLayout getLayout()
    • setLayout

      public void setLayout(LegendLayout layout)
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color color)