struct Pango::Color
- Pango::Color
- Struct
- Value
- Object
Overview
The Pango::Color
structure is used to
represent a color in an uncalibrated RGB color-space.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/color.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibPango::Color, _transfer : GICrystal::Transfer)
- .new(red : UInt16 | Nil = nil, green : UInt16 | Nil = nil, blue : UInt16 | Nil = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #==(other : self) : Bool
- #blue(*args, **options)
- #blue(*args, **options, &)
- #blue=(arg)
- #copy : Pango::Color | Nil
- #free : Nil
- #green(*args, **options)
- #green(*args, **options, &)
- #green=(arg)
- #parse(spec : String) : Bool
- #parse_with_alpha(spec : String) : Bool
- #red(*args, **options)
- #red(*args, **options, &)
- #red=(arg)
- #to_string : String
Constructor Detail
Class Method Detail
Returns the type id (GType) registered in GLib type system.