Create class method to hand the drawing of the bezier path.