Well instead of writing an efficient bur implementation in JAVA2D (which is not really possible), I would recommend you to write a shader which clips the output of your sketch
But first, tell us a bit more about the clipping problem you experience in P2D?