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.
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)
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 methods inherited from class Novika::Snapshot
to_form(assembler : BlockAssembler)
to_form
Class methods inherited from class Novika::Snapshot
bit_fields
bit_fields
Constructor Detail
Class Method Detail
Instance Method Detail
Macro Detail
Snapshot of a color form.
Its type is SnapshotType::Color
.
Snapshot of a color form.
Its type is SnapshotType::Color
.
Snapshot of a color form.
Its type is SnapshotType::Color
.
Snapshot of a color form.
Its type is SnapshotType::Color
.