Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CanvasDrawPath

Hierarchy

Index

Methods

  • beginPath(): void
  • Returns void

  • clip(fillRule?: "evenodd" | "nonzero"): void
  • clip(path: Path2D, fillRule?: "evenodd" | "nonzero"): void
  • Parameters

    • Optional fillRule: "evenodd" | "nonzero"

    Returns void

  • Parameters

    • path: Path2D
    • Optional fillRule: "evenodd" | "nonzero"

    Returns void

  • fill(fillRule?: "evenodd" | "nonzero"): void
  • fill(path: Path2D, fillRule?: "evenodd" | "nonzero"): void
  • Parameters

    • Optional fillRule: "evenodd" | "nonzero"

    Returns void

  • Parameters

    • path: Path2D
    • Optional fillRule: "evenodd" | "nonzero"

    Returns void

  • isPointInPath(x: number, y: number, fillRule?: "evenodd" | "nonzero"): boolean
  • isPointInPath(path: Path2D, x: number, y: number, fillRule?: "evenodd" | "nonzero"): boolean
  • Parameters

    • x: number
    • y: number
    • Optional fillRule: "evenodd" | "nonzero"

    Returns boolean

  • Parameters

    • path: Path2D
    • x: number
    • y: number
    • Optional fillRule: "evenodd" | "nonzero"

    Returns boolean

  • isPointInStroke(x: number, y: number): boolean
  • isPointInStroke(path: Path2D, x: number, y: number): boolean
  • Parameters

    • x: number
    • y: number

    Returns boolean

  • Parameters

    • path: Path2D
    • x: number
    • y: number

    Returns boolean

  • stroke(): void
  • stroke(path: Path2D): void
  • Returns void

  • Parameters

    Returns void

Generated using TypeDoc