debugArc()
pixi-wheels / index / debugArc
Function: debugArc()
function debugArc(
wheel: Wheel,
ringId?: string,
width?: number
): string;
Defined in: debug/debug.ts:104
The ring unrolled into a line of text: every section as a box whose width is its arc, and a caret under the pointer. Read the wheel without seeing it.
main rot 123.4 state stopping speed -210.3 deg/s
| x2 |x5| x3 |x10| x2 |x8| x3 |x50|
^ pointer -> x3
Parameters#
| Parameter | Type | Default value |
|---|---|---|
wheel | Wheel | undefined |
ringId? | string | undefined |
width? | number | 64 |
Returns#
string