struct BMP::Color

Defined in:

bmp.cr
parse.cr
write.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(red : UInt8, green : UInt8, blue : UInt8, reserved : UInt8 = 0_u8) #

[View source]
def self.new(io : IO) #

[View source]
def self.new(data : UInt32) #

[View source]

Instance Method Detail

def blue : UInt8 #

[View source]
def blue=(blue : UInt8) #

[View source]
def green : UInt8 #

[View source]
def green=(green : UInt8) #

[View source]
def red : UInt8 #

[View source]
def red=(red : UInt8) #

[View source]
def reserved : UInt8 #

[View source]
def reserved=(reserved : UInt8) #

[View source]
def write(io : IO) #

[View source]