class DFL::Palette

Overview

A DFL::Head's palette data

Included Modules

Defined in:

D_File/dfl/palette.cr
write.cr

Constructors

Instance Method Summary

Instance methods inherited from module WritingMethods::DFL::Palette

write(io : IO) write

Constructor Detail

def self.read(io : IO) : Palette #

Reads in a dfl palette given the io


[View source]

Instance Method Detail

def colors : Array(Color) #

The colors of the palette


[View source]
def colors=(colors : Array(Color)) #

The colors of the palette


[View source]