q5play
    Preparing search index...

    Function erase

    • 💅 Sets the canvas to erase mode, where shapes will erase what's underneath them instead of drawing over it.

      Not available in q5 WebGPU.

      Parameters

      • OptionalfillAlpha: number

        opacity level of the fill color

      • OptionalstrokeAlpha: number

        opacity level of the stroke color

      Returns void