struct BMP::Color
- BMP::Color
- Struct
- Value
- Object
Defined in:
bmp.crparse.cr
write.cr
Constructors
- .new(red : UInt8, green : UInt8, blue : UInt8, reserved : UInt8 = 0_u8)
- .new(io : IO)
- .new(data : UInt32)
Instance Method Summary
- #blue : UInt8
- #blue=(blue : UInt8)
- #green : UInt8
- #green=(green : UInt8)
- #red : UInt8
- #red=(red : UInt8)
- #reserved : UInt8
- #reserved=(reserved : UInt8)
- #write(io : IO)