public class StretchedHexagon extends AbstractPolygonPainter
Constructor and Description |
---|
StretchedHexagon(int inset)
Creates a stretched hexagon shape.
|
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 StretchedHexagon(int inset)
inset
- the horizontal inset in pixelsprotected int[] getPoints(org.eclipse.draw2d.geometry.Rectangle bounds, int lineWidth)
getPoints
in class AbstractPolygonPainter
bounds
- the figure boundslineWidth
- the line width of the borderpublic org.eclipse.draw2d.geometry.Insets getInsets()
CustomShapeFigure.ShapePainter
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a