tsParticles - v0.0.0
    Preparing search index...
    • Fills a rectangle with the given color for the whole canvas.

      Parameters

      • context: CanvasRenderingContext2D

        The canvas context to draw on.

      • dimension: IDimension

        The dimension of the rectangle.

      • image: HTMLImageElement | undefined

        The image to draw on the rectangle.

      • opacity: number

        The opacity of the image.

      Returns void