sesaparcours
    Preparing search index...
    • Adds a surface delimited by a circle or a circle arc (slice of pie) syntaxes addSurfaceCircle(c), addSurfaceCircle(c, color), addSurfaceCircle(c, color, fillStyle) and addSurfaceCircle(c, color, fillStyle, opacity) are allowed too

      Parameters

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

          Tag of the circle (or the circle arc)

        • 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

        • Optionaltag?: string

          The tag to be applied on the created surface

      Returns Promise<undefined> | CSurfaceDisque | CSurfaceSecteurCirculaire

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