public class TransformationNodeShape extends AbstractPolygonPainter
Constructor and Description |
---|
TransformationNodeShape(int extWidth,
int style) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.draw2d.geometry.Insets |
getInsets()
Get the shape insets.
|
protected int[] |
getPoints(org.eclipse.draw2d.geometry.Rectangle bounds,
int lineWidth)
Get the figure's outline points
|
fillShape, outlineShape
public TransformationNodeShape(int extWidth, int style)
extWidth
- the extension widthstyle
- the shape style, i.e. where the extension is added,
SWT.LEFT
, SWT.RIGHT
or SWT.NONE
public org.eclipse.draw2d.geometry.Insets getInsets()
CustomShapeFigure.ShapePainter
CustomShapeFigure.ShapePainter.getInsets()
protected int[] getPoints(org.eclipse.draw2d.geometry.Rectangle bounds, int lineWidth)
AbstractPolygonPainter
getPoints
in class AbstractPolygonPainter
bounds
- the figure boundslineWidth
- the line width of the borderAbstractPolygonPainter.getPoints(Rectangle, int)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a