Skip to content

@ralphschuler.webgl shader factory.<internal>.CanvasDrawPath

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: CanvasDrawPath

@ralphschuler/webgl-shader-factory.<internal>.CanvasDrawPath

Hierarchy

Table of contents

Methods

Methods

beginPath

beginPath(): void

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5309


clip

clip(fillRule?): void

MDN Reference

Parameters

Name Type
fillRule? CanvasFillRule

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5311

clip(path, fillRule?): void

Parameters

Name Type
path Path2D
fillRule? CanvasFillRule

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5312


fill

fill(fillRule?): void

MDN Reference

Parameters

Name Type
fillRule? CanvasFillRule

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5314

fill(path, fillRule?): void

Parameters

Name Type
path Path2D
fillRule? CanvasFillRule

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5315


isPointInPath

isPointInPath(x, y, fillRule?): boolean

MDN Reference

Parameters

Name Type
x number
y number
fillRule? CanvasFillRule

Returns

boolean

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5317

isPointInPath(path, x, y, fillRule?): boolean

Parameters

Name Type
path Path2D
x number
y number
fillRule? CanvasFillRule

Returns

boolean

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5318


isPointInStroke

isPointInStroke(x, y): boolean

MDN Reference

Parameters

Name Type
x number
y number

Returns

boolean

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5320

isPointInStroke(path, x, y): boolean

Parameters

Name Type
path Path2D
x number
y number

Returns

boolean

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5321


stroke

stroke(): void

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5323

stroke(path): void

Parameters

Name Type
path Path2D

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5324

Typescript Libraries

Modules

Namespaces

Clone this wiki locally