int w = context.getWidth() > 0 ? context.getWidth() : 30;
int h = context.getHeight() > 0 ? context.getHeight() : 30;
ContainerShape containerShape = peService.createContainerShape(context.getTargetContainer(), true);
Rectangle rect = gaService.createInvisibleRectangle(containerShape);
gaService.setLocationAndSize(rect, context.getX(), context.getY(), w, h);
int w_5th = w / 5;
int[] xy = { w_5th, 0, w_5th * 4, 0, w, h / 2, w_5th * 4, h, w_5th, h, 0, h / 2 };
Polygon hexagon = gaService.createPolygon(rect, xy);