Sign In

$bezierCurveTo[]

Draws a cubic Bézier curve in the current path

v1.0.0+ Requires Brackets

Usage

$bezierCurveTo[;;;;;;]
Also callable as
$bezierCurve $bezierLineTo

Arguments

NameTypeRequiredDescription
canvas
StringNoName of the canvas
cx1
NumberYesThe X coordinate of the first control point
cy1
NumberYesThe Y coordinate of the first control point
cx2
NumberYesThe X coordinate of the second control point
cy2
NumberYesThe Y coordinate of the second control point
x
NumberYesThe X coordinate of the end point
y
NumberYesThe Y coordinate of the end point

Was this page helpful?