sesaparcours
    Preparing search index...
    • Adds a surface delimited by a polygon syntaxes addSurfacePoly(poly), addSurfacePoly(poly, color), addSurfacePoly(poly, color, fillStyle) and addSurfacePoly(poly, color, fillStyle, opacity) are allowed too

      Parameters

      • options: {
            color?: string;
            fillStyle?: string;
            hidden?: boolean;
            opacity?: number;
            poly: string;
            tag?: string;
        }
        • Optionalcolor?: string

          Color, black by default

        • OptionalfillStyle?: string

          Filling style (transp|fill|-|vert|hor|/|)

        • Optionalhidden?: boolean

          true to get the created surface masked

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • poly: string

          Tag of the polygon

        • Optionaltag?: string

          The tag to be applied on the created surface

      Returns Promise<undefined> | CSurfacePolygone

      the created surface if isPromiseMode is false else promise that will be resolved when the object is displayed