Skip to content

Graphics.quadraticCurveTo method

Graphics › quadraticCurveTo

Unofficial

Draws a quadratic bezier curve.

Signature:

quadraticCurveTo(cpX: number, cpY: number, toX: number, toY: number): this

Parameters:

Parameter Type Description
cpX number Control point X.
cpY number Control point Y.
toX number End point X.
toY number End point Y.

Returns: thisThis graphics for chaining.