sesaparcours
    Preparing search index...
    • Adds a point defined by its complex affix in a frame rep (system of axis). syntaxes addPointZ(z), addPointZ(z, name), addPointZ(z, name, color) and addPointZ(z, name, coland, pointStyle) are allowed too

      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;
            z: 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 created point masked

        • OptionalhiddenName?: boolean

          true to get the created point name masked

        • Optionalname?: string

          Name of the point to be created

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

        • z: string | number | CValDyn

          affix of the point : number or valid formula or complex calculation

      Returns Promise<undefined> | CPointParAffixe

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