Class: JXL::Frame
- Inherits:
-
Object
- Object
- JXL::Frame
- Defined in:
- lib/jxl/image.rb,
lib/jxl/frame/toc.rb
Defined Under Namespace
Classes: TOC
Constant Summary collapse
- TOC_DISTRIBUTIONS =
[Bit::Field.bits(10), Bit::Field.bits_offset(14, 1024), Bit::Field.bits_offset(22, 17_408), Bit::Field.bits_offset(30, 4_211_712)].freeze
Instance Attribute Summary collapse
-
#blend_info ⇒ Object
readonly
Returns the value of attribute blend_info.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#planes ⇒ Object
readonly
Returns the value of attribute planes.
-
#timecode ⇒ Object
readonly
Returns the value of attribute timecode.
Instance Method Summary collapse
-
#initialize(planes:, duration:, timecode:, name:, blend_info:) ⇒ Frame
constructor
A new instance of Frame.
Constructor Details
#initialize(planes:, duration:, timecode:, name:, blend_info:) ⇒ Frame
Returns a new instance of Frame.
7 8 9 10 11 12 13 |
# File 'lib/jxl/image.rb', line 7 def initialize(planes:, duration:, timecode:, name:, blend_info:) @planes = planes @duration = duration @timecode = timecode @name = name @blend_info = blend_info end |
Instance Attribute Details
#blend_info ⇒ Object (readonly)
Returns the value of attribute blend_info.
5 6 7 |
# File 'lib/jxl/image.rb', line 5 def blend_info @blend_info end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
5 6 7 |
# File 'lib/jxl/image.rb', line 5 def duration @duration end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/jxl/image.rb', line 5 def name @name end |
#planes ⇒ Object (readonly)
Returns the value of attribute planes.
5 6 7 |
# File 'lib/jxl/image.rb', line 5 def planes @planes end |
#timecode ⇒ Object (readonly)
Returns the value of attribute timecode.
5 6 7 |
# File 'lib/jxl/image.rb', line 5 def timecode @timecode end |