QOI::Pixel
Inherits Struct < Value < Object
Struct representing an RGBA pixel.
Constructors
new(r : UInt8, g : UInt8, b : UInt8, a : UInt8)
new(r : UInt8, g : UInt8, b : UInt8)
Instance methods
a
a=(value : UInt8) : Nil
b
b=(value : UInt8) : Nil
color_hash
g
g=(value : UInt8) : Nil
r
r=(value : UInt8) : Nil
rgb
rgba
to_slice