Image.PaintRect (gb.image)

Function PaintRect ( X As Integer, Y As Integer, Width As Integer, Height As Integer, Color As Integer ) As Image

Blend the specified rectangle with the specified color.

  • X, Y, Width, Height define the rectangle to fill.

  • Color is the color, and can be a transparent color.

Contrary to FillRect, if Color is transparent, then the rectangle is blended with the image backround.

See also