this.setNoFill(true);
this.setPickable(true);
if (MT4jSettings.getInstance().isOpenGlMode()){
this.getGeometryInfo().generateOrUpdateBuffersLocal(new StyleInfo(new MTColor(255,255,255,255), new MTColor(startPoint.getR(), startPoint.getG(), startPoint.getB(), startPoint.getA()), this.isDrawSmooth(), this.isNoStroke(), this.isNoFill(), this.getStrokeWeight(), this.getFillDrawMode(), this.getLineStipple()));
}
// this.setBoundsBehaviour(AbstractShape.BOUNDS_DONT_USE);
this.setBoundsBehaviour(BOUNDS_ONLY_CHECK);
this.setName("unnamed MTLine");