如何在 a 的末尾创建一个空心箭头PolylineConnection
?
目前我有一个实心箭头使用:
PolylineConnection c
PolygonDecoration decoration = new PolygonDecoration();
PointList decorationPointList = new PointList();
decorationPointList.addPoint(0, 0);
decorationPointList.addPoint(-2, 2);
decorationPointList.addPoint(-2, 0);
decorationPointList.addPoint(-2, -2);
decoration.setTemplate(decorationPointList);
c.setSourceDecoration(decoration);
但我只需要箭头的轮廓,中心是空心的。