PiDraw API
    Preparing search index...

    Interface DrawnTick

    A tick that is drawn: its segment, and the number written at it (none for a tick between two numbers).

    interface DrawnTick {
        from: XY;
        label: TickLabel & { alignement: LABEL_POSITION; at: XY } | null;
        to: XY;
        value: number;
    }
    Index
    from: XY

    The ends of the tick, in pixels.

    label: TickLabel & { alignement: LABEL_POSITION; at: XY } | null

    The number, with where it is written and how it is aligned to that place.

    to: XY
    value: number

    The value the tick stands for, in units.