Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>CanvasDrawPath

Advanced Web Composition for Future
Latest
interface CanvasDrawPath
import { type CanvasDrawPath } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

Methods

beginPath(): void
clip(fillRule?: CanvasFillRule): void
clip(path: Path2D, fillRule?: CanvasFillRule): void
fill(fillRule?: CanvasFillRule): void
fill(path: Path2D, fillRule?: CanvasFillRule): void
isPointInPath(
x: number,
y: number,
fillRule?: CanvasFillRule,
): boolean
isPointInPath(
path: Path2D,
x: number,
y: number,
fillRule?: CanvasFillRule,
): boolean
isPointInStroke(x: number, y: number): boolean
isPointInStroke(
path: Path2D,
x: number,
y: number,
): boolean
stroke(): void
stroke(path: Path2D): void