abstract struct Termbox::IColor

Direct Known Subclasses

Defined in:

termbox2/color.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

abstract def |(also also_ : Color::Also) #

Mixes also, an output-mode-independent attribute, into this color.


[View source]
def also #

Returns this color's attribute.


[View source]
def for(mode : OutputMode) : UInt32 #

Returns this color's value for the given output mode.


[View source]
def initialize #

[View source]