public class FingerPost extends AbstractPolygonPainter
Constructor and Description |
---|
FingerPost(int tipSize,
int style)
Create a fingerpost shape painter.
|
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 FingerPost(int tipSize, int style)
tipSize
- the finger tip sizestyle
- the shape style, either pointing SWT.LEFT
or
SWT.RIGHT
public org.eclipse.draw2d.geometry.Insets getInsets()
CustomShapeFigure.ShapePainter
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 borderBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a