sesaparcours
    Preparing search index...
    • Adds a LaTeX display linked to a point a syntaxes addLinkedLatex(latex, a) and addLinkedLatex(latex, a, color) are allowed too

      Parameters

      • options: {
            a: string | CPt;
            backgroundColor?: string;
            border?: string;
            color?: string;
            fontSize?: number;
            hidden?: boolean;
            latex: string;
            offsetX?: number;
            offsetY?: number;
            opacity?: number;
            opaque?: boolean;
            tag?: string;
            vAlign?: string;
        }
        • a: string | CPt

          Name (or tag if name is empty) of the point the text display is linked to

        • OptionalbackgroundColor?: string

          Background color if opaque is true *

        • Optionalborder?: string

          The border style (none|simple|3D)

        • Optionalcolor?: string

          Color, black by default

        • OptionalfontSize?: number

          Size of the font used for the display (in pixels)

        • Optionalhidden?: boolean

          true to get the created LaTeX display masked

        • latex: string

          The LaTeX code to be displayed

        • OptionaloffsetX?: number

          x-shift of the LaTeX display

        • OptionaloffsetY?: number

          y-shift of the LaTeX display

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • Optionalopaque?: boolean

          true if the text or LaTeX displays erases its background. If true the color used to erase the background is the backgroundColor if present, else the background color of the figure

        • Optionaltag?: string

          Tag to be applied on the created LaTeX display (if present)

        • OptionalvAlign?: string

          Vertical alignment top|middle|bottom

      Returns Promise<undefined>

      Promise that will be resolved when the LaTeX is displayed