Sign In

$lineTo[]

Draws a straight line in the current path

v1.0.0+ Requires Brackets

Usage

$lineTo[;;]
Also callable as
$drawLine

Arguments

NameTypeRequiredDescription
canvas
StringNoName of the canvas
x
NumberYesThe X coordinate of the line's end point
y
NumberYesThe Y coordinate of the line's end point

Was this page helpful?