class Novika::ColorSnapshot
- Novika::ColorSnapshot
- Novika::Snapshot
- BinData
- Reference
- Object
Overview
Snapshot of a color form.
Its type is SnapshotType::Color
.
Defined in:
novika/image.crConstant Summary
-
ENDIAN =
["big"]
-
Snapshot of a color form.
Its type is
SnapshotType::Color
. -
KLASS_NAME =
[Novika::ColorSnapshot]
-
Snapshot of a color form.
Its type is
SnapshotType::Color
. -
PARTS =
[{type: "basic", name: r, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: g, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: b, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: a, cls: UInt8, onlyif: nil, verify: nil, value: nil}] of Nil
-
Snapshot of a color form.
Its type is
SnapshotType::Color
. -
REMAINING =
[] of Nil
-
Snapshot of a color form.
Its type is
SnapshotType::Color
.
Constructors
Class Method Summary
-
.bit_fields
Snapshot of a color form.
Macro Summary
-
novika_block_ref_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a color form.
-
novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a color form.
-
novika_color_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a color form.
-
novika_snapshot(name, onlyif = nil, verify = nil, value = nil)
Snapshot of a color form.
Instance Method Summary
- #__format__ : IO::ByteFormat
-
#a : UInt8
Holds alpha channel value, a u8 0-255.
-
#a=(a : UInt8)
Holds alpha channel value, a u8 0-255.
-
#b : UInt8
Holds blue channel value, a u8 0-255.
-
#b=(b : UInt8)
Holds blue channel value, a u8 0-255.
-
#g : UInt8
Holds green channel value, a u8 0-255.
-
#g=(g : UInt8)
Holds green channel value, a u8 0-255.
-
#r : UInt8
Holds red channel value, a u8 0-255.
-
#r=(r : UInt8)
Holds red channel value, a u8 0-255.
- #to_form(assembler)