Class NoRepeatsPointsList
java.lang.Object
org.eclipse.draw2d.geometry.PointList
org.eclipse.nebula.visualization.xygraph.figures.NoRepeatsPointsList
- All Implemented Interfaces:
java.io.Serializable
,org.eclipse.draw2d.geometry.Translatable
public class NoRepeatsPointsList
extends org.eclipse.draw2d.geometry.PointList
Class used to manage large amount of points in 1D plots
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NoRepeatsPointsList()
-
Method Summary
Modifier and Type Method Description void
addPoint(int x, int y)
Does not add the same point twice in a row.Methods inherited from class org.eclipse.draw2d.geometry.PointList
addAll, addPoint, getBounds, getCopy, getFirstPoint, getLastPoint, getMidpoint, getPoint, getPoint, insertPoint, intersects, performScale, performTranslate, polygonContainsPoint, polylineContainsPoint, removeAllPoints, removePoint, reverse, setPoint, setSize, size, toIntArray, translate, translate, transpose
-
Constructor Details
-
NoRepeatsPointsList
public NoRepeatsPointsList()
-
-
Method Details
-
addPoint
public void addPoint(int x, int y)Does not add the same point twice in a row.- Overrides:
addPoint
in classorg.eclipse.draw2d.geometry.PointList
- Parameters:
x
-y
-
-