- drawSample(canvas, rect, sample, style?, isText?, statistics?): void
-
Parameters
-
canvas: HTMLCanvasElement
-
rect: Rect
-
sample: number[]
-
style: {
backgroundColor: string;
color: string;
} = ...
-
backgroundColor: string
-
color: string
-
isText: boolean = false
-
Optional
statistics: {
max: number;
mean: number;
min: number;
}
-
max: number
-
mean: number
-
min: number
Returns void