sesaparcours
    Preparing search index...
    • Adds the line going through points a and b syntaxes addLineAB(a, b), addLineAB(a, b, name), addLineAB(a, b, name, color), addLineAB(a, b, name, color, lineStyle) and addLineAB(a, b, name, color, lineStyle, thickness) are allowed too

      Parameters

      • options: {
            a: string | CPt;
            b: string | CPt;
            color?: string;
            fontSize?: number;
            hidden?: boolean;
            hiddenName?: boolean;
            lineStyle?: string;
            name?: string;
            opacity?: number;
            tag?: string;
            thickness?: number;
        }
        • a: string | CPt

          First point or point name (or tag if name is empty) the line is going through

        • b: string | CPt

          Second poinnt or point name (or tag if name is empty) the line is going through

        • Optionalcolor?: string

          Color, black by default

        • OptionalfontSize?: number

          Font size of the name

        • Optionalhidden?: boolean

          true to get the created line masked

        • OptionalhiddenName?: boolean

          true to get the created line name masked

        • OptionallineStyle?: string

          Line style (line|-|dot|.|dashdash|--|dashdotdot|-..|dashdotdotdot|-...|dashdashdash|---)

        • Optionalname?: string

          Name of the line to be created (if present)

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • Optionaltag?: string

          Tag to be applied on the created line (if present)

        • Optionalthickness?: number

          Stroke thickness

      Returns Promise<undefined> | CDroiteAB

      The created line if isPromiseMode is false or promise that will be resolved when the line is displayed