you will need to mask a BezierPath with clipPath see https://www.drawbot.com/content/shapes/drawingPath.html#drawBot.clipPath I will let you try for a bit first good luck