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.

      • OptionalbaseColor: string

        The base color of the rectangle, if not specified a transparent color will be used.

      Returns void