Grx.flood_fill

@accepts(int, int, Grx.Color, Grx.Color)
@returns(none)
def flood_fill(x, y, border, c):
    # Python wrapper for grx_flood_fill()
  

Flood-fills the area of the current context bounded by the color border using x, y as the starting point.

x

the starting X coordinate

y

the starting Y coordinate

border

the color of the border that contains the fill

c

the color of the fill