class StunnerMagnetDecorator extends MagnetDecorator {

    @Override
    public Shape decorate(Shape shape, ShapeState state) {
        switch (state) {
            case VALID:
            case INVALID:
            case NONE:
                shape.setFillColor(StunnerPointHandleDecorator.MAIN_COLOR)
                        .setFillAlpha(0.7)
                        .setStrokeAlpha(1)
                        .setStrokeWidth(0)
                        .moveToTop();
        }
        return shape;
    }

}