ColorChannel#

Added in version 4.22.

class ColorChannel#

Enumerates the color channels of RGBA values as used in GdkColor and OpenGL/Vulkan shaders.

Note that this is not the order of pixel values in Cairo and GdkMemoryFormat can have many different orders.

Fields#

class ColorChannel
ALPHA#

The alpha color channel, aka 3

BLUE#

The blue color channel, aka 2

GREEN#

The green color channel, aka 1

RED#

The red color channel, aka 0