struct Pango::Color

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.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibPango::Color, _transfer : GICrystal::Transfer) #

def self.new(red : UInt16? = nil, green : UInt16? = nil, blue : UInt16? = nil) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def ==(other : self) : Bool #

def blue(*args, **options) #

def blue(*args, **options, &) #

def blue=(arg) #

def copy : Pango::Color? #

def free : Nil #

def green(*args, **options) #

def green(*args, **options, &) #

def green=(arg) #

def parse(spec : String) : Bool #

def parse_with_alpha(spec : String) : Bool #

def red(*args, **options) #

def red(*args, **options, &) #

def red=(arg) #

def to_string : String #