class Breadbin::Palette

Defined in:

breadbin/palette.cr

Constructors

Instance Method Summary

Constructor Detail

def self.matching(colors : Array(Int32)) : Palette #

[View source]
def self.new(variant : String) #

[View source]

Instance Method Detail

def [](color : StumpyCore::RGBA) : UInt8 #

[View source]
def [](rgb24) : UInt8 #

[View source]
def index_to_rgba(index : UInt8) #

[View source]
def variant : String #

[View source]
def variant=(variant : String) #

[View source]