image.drawQuadraticCurve()

Draws a curved line. The curve is controlled by a single point.

image.drawQuadraticCurve( x1, y1, ctrlx, ctrly, x2, y2 )

Returns: void

Argument Description
x1
number, required

The x coordinate of the start point of the quadratic curve segment.

y1
number, required

The y coordinate of the start point of the quadratic curve segment.

ctrlx
number, required

The x coordinate of the first control point of the quadratic curve segment.

ctrly
number, required

The y coordinate of the first control point of the quadratic curve segment.

x2
number, required

The x coordinate of the end point of the quadratic curve segment.

y2
number, required

The y coordinate of the end point of the quadratic curve segment.

Examples

There are currently no examples for this function

See also