public void setPoints(int bar1, int y1, int bar2, int y2) { lr.clearPoints(); this.bar1 = bar1; this.y1 = y1; this.bar2 = bar2; this.y2 = y2; lr.addPoint(interceptBar - bar1, y1); lr.addPoint(interceptBar - bar2, y2); }
public void ClearBars() { lr.clearPoints(); }