Draws a fan on a canvas using java.awt and graphics2d