Class PointPainterLine

java.lang.Object
info.monitorenter.gui.chart.pointpainters.APointPainter<PointPainterLine>
info.monitorenter.gui.chart.pointpainters.PointPainterLine
All Implemented Interfaces:
IPointPainter<PointPainterLine>, IPointPainterConfigurableUI<PointPainterLine>, Serializable, Comparable<PointPainterLine>

public class PointPainterLine extends APointPainter<PointPainterLine>
A point painter that renders a trace by lines.

Version:
$Revision: 1.18 $
Author:
Achim Westermann
See Also:
  • Constructor Details

    • PointPainterLine

      public PointPainterLine()
      Defcon.

  • Method Details

    • paintPoint

      public void paintPoint(int absoluteX, int absoluteY, int nextX, int nextY, Graphics g, ITracePoint2D point)
      Paints a line from current to next point.

      Parameters:
      absoluteX - the ready to use x value for the point to paint.
      absoluteY - the ready to use y value for the point to paint.
      nextX - the ready to use next x value for the point to paint.
      nextY - the ready to use next y value for the point to paint.
      g - the graphic context to paint on.
      point - just for information, for painting this should be irrelevant and it should not be changed too!
      See Also: