Methods
arc
- arc(x: number, y: number, r: number, a0: number, a1: number, ccw?: undefined | false | true): void
-
Parameters
-
x: number
-
y: number
-
r: number
-
a0: number
-
a1: number
-
Optional ccw: undefined | false | true
Returns void
arcTo
- arcTo(x1: number, y1: number, x2: number, y2: number, r: number): void
-
Parameters
-
x1: number
-
y1: number
-
x2: number
-
y2: number
-
r: number
Returns void
bezierCurveTo
- bezierCurveTo(x1: number, y1: number, x2: number, y2: number, x: number, y: number): void
-
Parameters
-
x1: number
-
y1: number
-
x2: number
-
y2: number
-
x: number
-
y: number
Returns void
lineTo
- lineTo(x: number, y: number): void
moveTo
- moveTo(x: number, y: number): void
quadraticCurveTo
- quadraticCurveTo(x1: number, y1: number, x: number, y: number): void
-
Parameters
-
x1: number
-
y1: number
-
x: number
-
y: number
Returns void
rect
- rect(x: number, y: number, w: number, h: number): void
-
Parameters
-
x: number
-
y: number
-
w: number
-
h: number
Returns void