PointClickEngine::Graphics::Utils::Palette
Inherits Reference < Object
Color palette for retro-style graphics
Constructors
new(name : String)
SourceInstance methods
color_map
Sourcecolor_map=(color_map : Hash(String, Int32))
Sourcecolors
Sourcecolors=(colors : Array(Entry))
Sourcegradient(from_name : String, to_name : String, steps : Int32) : Array(RL::Color) | Nil
Create gradient between two palette colors
name
Sourcename=(name : String)
Source