Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CanvasFillStrokeStyles

Hierarchy

Index

Properties

fillStyle: string | CanvasGradient | CanvasPattern
strokeStyle: string | CanvasGradient | CanvasPattern

Methods

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

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

    Returns CanvasGradient

  • 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