sesaparcours
    Preparing search index...
    • Add a segment mark syntaxes addSegmentMark(elt, color), addSegmentMark(elt, color, segmentMarkStyle) and addSegmentMark(elt, color, segmentMarkStyle, thickness) are allowed too

      Parameters

      • options: {
            color?: string;
            elt: string;
            hidden?: boolean;
            lineStyle?: string;
            opacity?: number;
            segmentMarkStyle?: string;
            tag?: string;
            thickness?: number;
        }
        • Optionalcolor?: string

          Color, black by default

        • elt: string

          The tag of the segment the mark will be applied on

        • Optionalhidden?: boolean

          true to get the mark masked

        • OptionallineStyle?: string

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

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • OptionalsegmentMarkStyle?: string

          Angle mark style (-|--|---|x)

        • Optionaltag?: string

          Tag to be applied on the mark (if present)

        • Optionalthickness?: number

          thickness of the stroke

      Returns Promise<undefined>

      The created point if isPromiseMode is false else promise that will be resolved when the mark is displayed