Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CanvasFillStrokeStyles

Hierarchy

Index

Properties

fillStyle

fillStyle: string | CanvasGradient | CanvasPattern

strokeStyle

strokeStyle: string | CanvasGradient | CanvasPattern

Methods

createLinearGradient

  • createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient
  • Parameters

    • x0: number
    • y0: number
    • x1: number
    • y1: number

    Returns CanvasGradient

createPattern

createRadialGradient

  • createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient
  • Parameters

    • x0: number
    • y0: number
    • r0: number
    • x1: number
    • y1: number
    • r1: number

    Returns CanvasGradient

Generated using TypeDoc