Pixbuf.fill

Clears a pixbuf to the given RGBA value, converting the RGBA value into the pixbuf's pixel format. The alpha will be ignored if the pixbuf doesn't have an alpha channel.

class Pixbuf
void
fill
(
uint pixel
)

Parameters

pixel uint

RGBA pixel to clear to (0xffffffff is opaque white, 0x00000000 transparent black)

Meta