sesaparcours
    Preparing search index...
    • Adds the ray [o,a) syntaxes addRay(o, a), addRay(o, a, color), addRay(o, a, color, lineStyle) and addRay(o, a, color, lineStyle, thickness) are allowed too

      Parameters

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

          Point or point name the ray is going through

        • Optionalcolor?: string

          Color, black by default

        • Optionalhidden?: boolean

          true to get the created ray masked

        • OptionallineStyle?: string

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

        • o: string | CPt

          Point or point name of the starting edge of the ray

        • 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> | CDemiDroite

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