Drawing on the BufferedImage.
Hand drawing: points, lines.
Set ClipBox2D.
Clip lines.