struct PNG::Palette

Included Modules

Defined in:

png/palette.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def clone #

[View source]
def data : Bytes #

[View source]
def data=(data : Bytes) #

[View source]
def size #
Description copied from module Indexable({UInt8, UInt8, UInt8})

Returns the number of elements in this container.


[View source]
def unsafe_fetch(index) #

[View source]
def unsafe_put(index, value) #

[View source]