Package: gdk
GEnum gdk:color-channel
Declaration
(gobject:define-genum "GdkColorChannel" color-channel (:export t :type-initializer "gdk_color_channel_get_type") (:red 0) (:green 1) (:blue 2) (:alpha 3))
Values
- :red
- The red color channel, aka 0.
- :green
- The green color channel, aka 1.
- :blue
- The blue color channel, aka 2.
- :alpha
- The alpha color channel, aka 3.
Details
Enumerates the color channels of RGBA values as used in GdkColor and
OpenGL or Vulkan shaders.
Note that this is not the order of pixel values in Cairo and GdkMemoryFormat
can have many different orders.
Since 4.22
Since 4.22
2026-09-04