Name

CRC.beginPath() — starts a new path in a canvas

Synopsis

void beginPath()

Description

beginPath() discards any currently defined path and begins a new one. There is no current point after a call to beginPath().

When the context for a canvas is first created, beginPath() is implicitly called.

Get Canvas Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.