Function drawSample2

  • Parameters

    • canvas: HTMLCanvasElement
    • rect: Rect
    • sample: number[]
    • style: {
          backgroundColor: string;
          color: string;
      } = ...
      • backgroundColor: string
      • color: string
    • Optional statistics: {
          max: number;
          mean: number;
          min: number;
      }
      • max: number
      • mean: number
      • min: number
    • isText: boolean = false

    Returns void

Generated using TypeDoc