Home Segments Top Top Previous Next

1119: Sidetrip

The quadTo and curveTo methods draw quadratic curves and Bezier curves. The quadTo method takes four float arguments, which define two points. The second point is the destination; the first is a quadratic control point. The curveTo method takes six float arguments, which define three points. The third point is the destination; the first two are Bezier control points.