sesaparcours
    Preparing search index...
    • Adds vector ab syntaxes addVector(a, b), addVector(a, b, color), addVector(a, b, color, lineStyle) and addVector(a, b, color, lineStyle, thickness) are allowed too

      Parameters

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

          Point or point name of the origin of the vector

        • OptionalarrowStyle?: string

          Arrox style (short|long|shortfull|longfull)

        • b: string | CPt

          Point or point name of the extremety of the vector

        • Optionalcolor?: string

          Color, black by default

        • Optionalhidden?: boolean

          true to get the created vector masked

        • OptionallineStyle?: string

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

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • Optionaltag?: string

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

        • Optionalthickness?: number

          Stroke thickness

      Returns Promise<undefined> | CVecteur

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