Package HAL.Gui
Class PlotLine
- java.lang.Object
-
- HAL.Gui.PlotLine
-
- All Implemented Interfaces:
java.io.Serializable
public class PlotLine extends java.lang.Object implements java.io.Serializable
this class is used to add segments one at a time to a PlotLine on a UIPlot/PlotWindow- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method Description void
AddSegment(double x, double y)
adds a segment to the current line that will end at the specified coordinatesvoid
AddSegment(double x, double y, int color)
adds a segment to the current line that will end at the specified coordinatesvoid
AddSegment(double x, double y, int color, int[] pointHood)
adds a segment to the current line, the color and pointHood are used to draw the point at the end of the segment
-
-
-
Constructor Detail
-
PlotLine
public PlotLine(UIPlot plot, int color)
establishes the UIPlot that will contain the PlotLine, and the color of the segment lines
-
-
Method Detail
-
AddSegment
public void AddSegment(double x, double y, int color, int[] pointHood)
adds a segment to the current line, the color and pointHood are used to draw the point at the end of the segment
-
AddSegment
public void AddSegment(double x, double y, int color)
adds a segment to the current line that will end at the specified coordinates
-
AddSegment
public void AddSegment(double x, double y)
adds a segment to the current line that will end at the specified coordinates
-
-