PiDraw API
    Preparing search index...

    Interface IRefreshOptions

    How to draw the code again.

    interface IRefreshOptions {
        drag?: "keep" | "reset";
        editing?: number;
    }
    Index
    drag?: "keep" | "reset"

    What happens to the points the user dragged when the code is drawn again: keep (the default) puts them where they were left, as long as their line is the same and under the rules of its drag (a limit, a figure to follow...); reset puts every point where its line says.

    editing?: number

    The number of the line that is being written, from 1. If it is not valid, the figure that the line had in the last drawing is kept, and its problem is pending: the drawing does not blink while a line is typed. The figure is kept only if that line is the only one that is not the same as in the last drawing.