class Gdk::ColorState
- Gdk::ColorState
- Reference
- Object
Overview
Provides information to interpret colors and pixels in a variety of ways.
They are also known as color spaces.
Crucially, GTK knows how to convert colors from one color state to another.
Gdk::ColorState
objects are immutable and therefore threadsafe.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/color_state.crConstructors
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
- .oklab : Gdk::ColorState
- .oklch : Gdk::ColorState
- .rec2100_linear : Gdk::ColorState
- .rec2100_pq : Gdk::ColorState
- .srgb : Gdk::ColorState
- .srgb_linear : Gdk::ColorState
Instance Method Summary
- #create_cicp_params : Gdk::CicpParams | Nil
- #equal(other : Gdk::ColorState) : Bool
- #finalize
- #ref : Gdk::ColorState
- #to_unsafe : Pointer(Void)
- #unref : Nil