Gdk.Pixdata.PixdataType Field
An enumeration containing three sets of flax for the Gdk.Pixdata. One used for colorspace, one for the width of the samples, and one for the encoding of the pixel data.

Syntax

public uint PixdataType

Remarks

ValueDescription
0x01Each pixel has red, green, and blue samples.
0x02Each pixel has red, green, and blue samples, and an alpha value.
0xFFA mask for the colortype flags.
0x01 << 16Each sample has 8 bits.
0x0f << 16A mask for the sample width flags.
0x01 << 24The pixel data is in raw form.
0x02 << 24The pixel data is run-length encoded. Runs may be up to 127 bytes long; their length is stored in a single byte preceding the pixel data for the run. If a run is constant, its length byte has the high bit set and the pixel data consists of a single pixel which must be repeated.
0x0f << 24A mask for the encoding flags.

Requirements

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