我看不懂 org.eclipse.draw2d.Triangle 的 api。有一些用于操作的字段:
protected int direction
The direction this triangle will face. Possible values are PositionConstants.NORTH, PositionConstants.SOUTH, PositionConstants.EAST and PositionConstants.WEST.
protected int orientation
The orientation of this triangle. Possible values are Orientable.VERTICAL and Orientable.HORIZONTAL.
还有“三角形的点”。但是没有用于直接操作它们的 api。所以我可能需要一些例子来理解..(按点创建三角形或像这样的smt)
谢谢。