Paint.FillRect (gb.qt4)

Static Sub FillRect ( X As Float, Y As Float, Width As Float, Height As Float [ , Color As Integer ] )

Fill a rectangle with a specific color.

  • X : the left coordinate of the rectangle.

  • Y : the top coordinate of the rectangle.

  • Width : the rectangle width.

  • Height : the rectangle height.

  • Color : the fill color.

Since 3.22

If the Color argument is not specified, the color defined by Paint.Background is used.