0
我无法理解org.eclipse.draw2d.Triangle的api。有一些操作区域:draw2d库中的三角形
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像这样创建三角形)
谢谢。
谢谢。由于我无法绘制任意三角形,因此我应该自行实施( – 2010-10-24 08:26:18