canvas2d_draw_linear_scale
canvas2d_draw_linear_scale(ctx, position_x0, position_y0, position_x1, position_y1, spacing, value_0, value_1, [align])
Kind: global function
| Param | Type | Description |
|---|---|---|
| ctx | CanvasRenderingContext2D | |
| position_x0 | number | |
| position_y0 | number | |
| position_x1 | number | |
| position_y1 | number | |
| spacing | number | |
| value_0 | number | |
| value_1 | number | |
| [align] | string | which side of the point should the text appear on |