File tree Expand file tree Collapse file tree 4 files changed +12
-19
lines changed
Expand file tree Collapse file tree 4 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -463,14 +463,14 @@ <h2><a id="drawing">Functions for Drawing</a></h2>
463463// see: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/stroke
464464stroke(color: number, path?: Path2D): void
465465
466- // Create (or clone) a Path2D instance
467- // see: https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D
468- path(arg?: Path2D | string): Path2D
469-
470- // Create a clipping region
466+ // Create a clipping region based in a Path2D instance
471467// see: https://github.com/litecanvas/game-engine/blob/main/samples/clip/clip.js
472468// note: before call `clip()` you must save the context using `push()` and `pop()`
473- clipcirc(path: Path2D)</ code > </ pre >
469+ clip(path: Path2D)
470+
471+ // Create (or clone) a Path2D instance
472+ // see: https://developer.mozilla.org/en-US/docs/Web/API/Path2D/Path2D
473+ path(arg?: Path2D | string): Path2D</ code > </ pre >
474474
475475 < h2 > < a id ="sound "> Functions for Sound</ a > </ h2 >
476476
You can’t perform that action at this time.
0 commit comments