CanvasDrawPath
Extended by
Methods
beginPath()
beginPath(): void;
Returns
void
clip()
Call Signature
clip(fillRule?): void;
Parameters
| Parameter | Type |
|---|---|
fillRule? | CanvasFillRule |
Returns
void
Call Signature
clip(path, fillRule?): void;
Parameters
| Parameter | Type |
|---|---|
path | Path2D |
fillRule? | CanvasFillRule |
Returns
void
fill()
Call Signature
fill(fillRule?): void;
Parameters
| Parameter | Type |
|---|---|
fillRule? | CanvasFillRule |
Returns
void
Call Signature
fill(path, fillRule?): void;
Parameters
| Parameter | Type |
|---|---|
path | Path2D |
fillRule? | CanvasFillRule |
Returns
void
isPointInPath()
Call Signature
isPointInPath(
x,
y,
fillRule?
): boolean;
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |
fillRule? | CanvasFillRule |
Returns
boolean
Call Signature
isPointInPath(
path,
x,
y,
fillRule?
): boolean;
Parameters
| Parameter | Type |
|---|---|
path | Path2D |
x | number |
y | number |
fillRule? | CanvasFillRule |
Returns
boolean
isPointInStroke()
Call Signature
isPointInStroke(x, y): boolean;
Parameters
| Parameter | Type |
|---|---|
x | number |
y | number |
Returns
boolean
Call Signature
isPointInStroke(
path,
x,
y
): boolean;
Parameters
| Parameter | Type |
|---|---|
path | Path2D |
x | number |
y | number |
Returns
boolean
stroke()
Call Signature
stroke(): void;
Returns
void
Call Signature
stroke(path): void;
Parameters
| Parameter | Type |
|---|---|
path | Path2D |
Returns
void