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) #

[View source]
def self.new(data : LibPango::Color, _transfer : GICrystal::Transfer) #

[View source]
def self.new(red : UInt16 | Nil = nil, green : UInt16 | Nil = nil, blue : UInt16 | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def blue(*args, **options) #

[View source]
def blue(*args, **options, &) #

[View source]
def blue=(arg) #

[View source]
def copy : Pango::Color | Nil #

[View source]
def free : Nil #

[View source]
def green(*args, **options) #

[View source]
def green(*args, **options, &) #

[View source]
def green=(arg) #

[View source]
def parse(spec : String) : Bool #

[View source]
def parse_with_alpha(spec : String) : Bool #

[View source]
def red(*args, **options) #

[View source]
def red(*args, **options, &) #

[View source]
def red=(arg) #

[View source]
def to_string : String #

[View source]