Gdk.Pixbuf.Fill Method
Fills a pixbuf with a single color

Syntax

public void Fill (uint pixel)

Parameters

pixel
RGBA value for the pixel to set (0xffffffff is opaque white, 0x00000000 transparent black)

Remarks

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 does not have an alpha channel.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)