RGB.rgbXpixelFromRgb

Warning gdk_rgb_xpixel_from_rgb is deprecated and should not be used in newly-written code. Finds the X pixel closest in color to the rgb color specified. This value may be used to set the pixel field of a GdkColor struct.

class RGB
static
rgbXpixelFromRgb
(
uint rgb
)

Parameters

rgb uint

The color, represented as a 0xRRGGBB integer value.

Return Value

Type: gulong

The X pixel value.

Meta