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

CanvasFillStrokeStyles

interface CanvasFillStrokeStyles {
fillStyle: string | CanvasGradient | CanvasPattern;
strokeStyle: string | CanvasGradient | CanvasPattern;
createConicGradient(
startAngle: number,
x: number,
y: number,
): CanvasGradient;
createLinearGradient(
x0: number,
y0: number,
x1: number,
y1: number,
): CanvasGradient;
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
createRadialGradient(
x0: number,
y0: number,
r0: number,
x1: number,
y1: number,
r1: number,
): CanvasGradient;
}

§Properties

§
fillStyle: string | CanvasGradient | CanvasPattern
[src]
§
strokeStyle: string | CanvasGradient | CanvasPattern
[src]

§Methods

§
createConicGradient(
startAngle: number,
x: number,
y: number,
): CanvasGradient
[src]
§
createLinearGradient(
x0: number,
y0: number,
x1: number,
y1: number,
): CanvasGradient
[src]
§
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null
[src]
§
createRadialGradient(
x0: number,
y0: number,
r0: number,
x1: number,
y1: number,
r1: number,
): CanvasGradient
[src]