Methods
arc
- arc(cx: number, cy: number, r: number, a0: number, a1: number, ccw?: boolean): void
-
Parameters
-
cx: number
-
cy: number
-
r: number
-
a0: number
-
a1: number
-
Optional ccw: boolean
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
ellipse
- ellipse(cx: number, cy: number, rx: number, ry: number, phi: number, a0: number, a1: number, ccw?: boolean): void
-
Parameters
-
cx: number
-
cy: number
-
rx: number
-
ry: number
-
phi: number
-
a0: number
-
a1: number
-
Optional ccw: boolean
Returns void
lineTo
- lineTo(x: number, y: number): void
-
Parameters
Returns void
moveTo
- moveTo(x: number, y: number): void
-
Parameters
Returns void
quadraticCurveTo
- quadraticCurveTo(x1: number, y1: number, x: number, y: number): void
-
Parameters
-
x1: number
-
y1: number
-
x: number
-
y: number
Returns void