public GraphicsConfig paintWithAlpha(float alpha) {
    assert 0.0f <= alpha && alpha <= 1.0f : "alpha should be in range 0.0f .. 1.0f";
    return setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha));
  }
public GraphicsConfig paintWithAlpha(float alpha)