Class: JXL::Event
- Inherits:
-
Data
- Object
- Data
- JXL::Event
- Defined in:
- lib/jxl/decoder.rb
Instance Attribute Summary collapse
-
#basic_info ⇒ Object
readonly
Returns the value of attribute basic_info.
-
#frame ⇒ Object
readonly
Returns the value of attribute frame.
-
#image ⇒ Object
readonly
Returns the value of attribute image.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#basic_info ⇒ Object (readonly)
Returns the value of attribute basic_info
4 5 6 |
# File 'lib/jxl/decoder.rb', line 4 def basic_info @basic_info end |
#frame ⇒ Object (readonly)
Returns the value of attribute frame
4 5 6 |
# File 'lib/jxl/decoder.rb', line 4 def frame @frame end |
#image ⇒ Object (readonly)
Returns the value of attribute image
4 5 6 |
# File 'lib/jxl/decoder.rb', line 4 def image @image end |
#type ⇒ Object (readonly)
Returns the value of attribute type
4 5 6 |
# File 'lib/jxl/decoder.rb', line 4 def type @type end |
Instance Method Details
#height ⇒ Object
6 |
# File 'lib/jxl/decoder.rb', line 6 def height = basic_info&.height || image&.height |
#width ⇒ Object
5 |
# File 'lib/jxl/decoder.rb', line 5 def width = basic_info&.width || image&.width |