sesaparcours
    Preparing search index...
    • adds a button on the figure launching function callBack when clicked on syntaxes addActionButton(text, callBack), addActionButton(text, callBack, x, y) and addActionButton(text, callBack, x, y, tag) are allowed too where callBack is the launched function when the button is clicked

      Parameters

      • options: {
            callBack: (...params: any[]) => any;
            tag?: string;
            text: string;
            x?: string | number | CValDyn;
            y?: string | number | CValDyn;
        }
        • callBack: (...params: any[]) => any

          function to be called when clicked on the button

        • Optionaltag?: string

          Tag to be applied on the created text display (if present) returns {CCommentaire}

        • text: string

          The text displayed by the button

        • Optionalx?: string | number | CValDyn

          x coordinate of the top button zoom in svg coordinates or 10 if absent

        • Optionaly?: string | number | CValDyn

          y coordinate of the top button zoom in svg coordinates or 50 if absent

      Returns void