Function fillRect

  • Draw a rectangle to the graphics context

    Parameters

    • x: number

      The x coordinate to draw at

    • y: number

      The y coordinate to draw at

    • width: number

      The width of the rectangle to draw

    • height: number

      The height of the rectangle to draw

    • col: string

      The color to fill the rectangle in - in CSS format

    Returns void

Generated using TypeDoc