sesaparcours
    Preparing search index...
    • Add a free point Syntax addFreePoint(x, y), addFreePoint(x, y, name), addFreePoint(x, y, name, color), addFreePoint(x, y, name, color, pointStyle) or addFreePoint(x, y, name, color, pointStyle, rep) allowed

      Parameters

      • options: {
            absCoord?: boolean;
            color?: string;
            fontSize?: number;
            hidden?: boolean;
            hiddenName?: boolean;
            name?: string;
            offsetX?: number;
            offsetY?: number;
            opacity?: number;
            pointStyle?: string;
            rep?: string;
            tag?: string;
            x: string | number | CValDyn;
            y: string | number | CValDyn;
        }
        • OptionalabsCoord?: boolean

          set to true if x,y should be considered absolute in the svg (in that case rep is ignored), useless if there is no frame (in that case x,y will be considered absolute regardless of this property)

        • Optionalcolor?: string

          Color, black by default

        • OptionalfontSize?: number

          Font size of the name

        • Optionalhidden?: boolean

          true to get the point masked

        • OptionalhiddenName?: boolean

          true to get the name point masked

        • Optionalname?: string

          Name of the point (if present)

        • OptionaloffsetX?: number

          x-shift of the name

        • OptionaloffsetY?: number

          y-shift of the name

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • OptionalpointStyle?: string

          Point style (o|O|OO|x|X|+|<>|[]|.) or (littleround|round|biground|mult|bigmult|cross|diamond|square|pixel|)

        • Optionalrep?: string

          tag of the frame (system of coordinates), mandatory only if the figure contains several frames

        • Optionaltag?: string

          Tag to be applied on the point (if present)

        • x: string | number | CValDyn

          starting x-coordinate when the point is created

        • y: string | number | CValDyn

          starting y-coordinate when the point is created

      Returns Promise<undefined> | CPointBase

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