interface CanvasDrawPath { beginPath(): void; clip(fillRule?): void; clip(path,
fillRule?): void; fill(fillRule?): void; fill(path,
fillRule?): void; isPointInPath(x,
y,
fillRule?): boolean; isPointInPath(path,
x,
y,
fillRule?): boolean; isPointInStroke(x,
y): boolean; isPointInStroke(path,
x,
y): boolean; stroke(): void; stroke(path): void; } Methods
beginPath
- beginPath(): void
Returns void
clip
- clip(fillRule?): void
Returns void
- clip(path, fillRule?): void
Returns void
fill
- fill(fillRule?): void
Returns void
- fill(path, fillRule?): void
Returns void
isPointInPath
- isPointInPath(x, y, fillRule?): boolean
Returns boolean
- isPointInPath(path, x, y, fillRule?): boolean
Returns boolean
isPointInStroke
- isPointInStroke(x, y): boolean
Returns boolean
- isPointInStroke(path, x, y): boolean
Returns boolean
stroke
- stroke(): void
Returns void
- stroke(path): void
Returns void