sesaparcours
    Preparing search index...
    • Adds an image point of a through a translation of vector with coordinates (x, y) syntaxes addImPointTranslation(a, x, y), addImPointTranslation(a, x, y, name), addImPointTranslation(a, x, y, name, color) and addImPointTranslation(a, x, y, name, color, pointStyle) are allowed too

      Parameters

      • options: {
            a: string | CPt;
            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;
        }
        • a: string | CPt

          Point (or point name) that is to be transformed by the translation

        • 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

          The name of the point to be created (image point)

        • OptionaloffsetX?: number

          x-shift of the point name

        • OptionaloffsetY?: number

          y-shift of the point 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 created point (if present)

        • x: string | number | CValDyn

          the first coordinate of the translation vector

        • y: string | number | CValDyn

          the second coordinate of the translation vector

      Returns Promise<undefined> | CPointImage

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