Interface CanvasFillStrokeStyles
Properties
fillStyle
strokeStyle
Methods
createConicGradient
- createConicGradient(startAngle, x, y): CanvasGradient
Parameters
startAngle: number
x: number
y: number
createLinearGradient
- createLinearGradient(x0, y0, x1, y1): CanvasGradient
Parameters
x0: number
y0: number
x1: number
y1: number
createPattern
- createPattern(image, repetition): null | CanvasPattern
Parameters
repetition: null | string
createRadialGradient
- createRadialGradient(x0, y0, r0, x1, y1, r1): CanvasGradient
Parameters
x0: number
y0: number
r0: number
x1: number
y1: number
r1: number
MDN Reference