Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CanvasDrawPath

interface CanvasDrawPath {
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;
}

§Methods

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