@Override
protected IFigure createFigure() {
Polyline figure = new Polyline();
SVGPolylineRecord record = (SVGPolylineRecord) getElementRecord();
figure.setPoints(record.getPoints().getCopy());
XYLayout layout = new XYLayout();
figure.setLayoutManager(layout);
figure.setForegroundColor(new Color(null, 0, 0, 0));