public void setPoints(int startX, int startY, int endX, int endY) {
this.endY = endY;
this.endX = endX;
this.startY = startY;
this.startX = startX;
ActionMgr.addAction(new LineConfigure(this));
startXPixels = UIutils.milsToPixels(this.startX);
startYPixels = UIutils.milsToPixels(this.startY);
endXPixels = UIutils.milsToPixels(this.endX);
endYPixels = UIutils.milsToPixels(this.endY);