added clear() and cubicCurveTo()