- drawQTree2d(canvas, rect, QTree, grid, colorBand?, value?, statistics?): void
-
Parameters
-
canvas: HTMLCanvasElement
-
rect: Rect
-
-
-
colorBand: ((statistics, value) => string) = simpleColorBand
-
- (statistics, value): string
-
Parameters
-
statistics: {
max: number;
mean: number;
min: number;
}
-
max: number
-
mean: number
-
min: number
-
value: number
Returns string
-
Optional
value: number
-
Optional
statistics: {
max: number;
mean: number;
min: number;
}
-
max: number
-
mean: number
-
min: number
Returns void
绘制四叉树