struct X11::Color

Defined in:

x11/color.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pixel : UInt64, red : UInt16, green : UInt16, blue : UInt16, flags : UInt8, pad : UInt8) #

[View source]
def self.new(color : X11::C::X::Color) #

[View source]
def self.new(color : X11::C::X::PColor) #

[View source]

Instance Method Detail

def blue : UInt16 #

[View source]
def blue=(blue : UInt16) #

[View source]
def flags : UInt8 #

[View source]
def flags=(flags : UInt8) #

[View source]
def green : UInt16 #

[View source]
def green=(green : UInt16) #

[View source]
def pad : UInt8 #

[View source]
def pad=(pad : UInt8) #

[View source]
def pixel : UInt64 #

[View source]
def pixel=(pixel : UInt64) #

[View source]
def red : UInt16 #

[View source]
def red=(red : UInt16) #

[View source]
def to_unsafe : X11::C::X::PColor #

[View source]
def to_x : X11::C::X::Color #

[View source]