Class: JXL::Event

Inherits:
Data
  • Object
show all
Defined in:
lib/jxl/decoder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#basic_infoObject (readonly)

Returns the value of attribute basic_info

Returns:

  • (Object)

    the current value of basic_info



4
5
6
# File 'lib/jxl/decoder.rb', line 4

def basic_info
  @basic_info
end

#frameObject (readonly)

Returns the value of attribute frame

Returns:

  • (Object)

    the current value of frame



4
5
6
# File 'lib/jxl/decoder.rb', line 4

def frame
  @frame
end

#imageObject (readonly)

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



4
5
6
# File 'lib/jxl/decoder.rb', line 4

def image
  @image
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



4
5
6
# File 'lib/jxl/decoder.rb', line 4

def type
  @type
end

Instance Method Details

#heightObject



6
# File 'lib/jxl/decoder.rb', line 6

def height = basic_info&.height || image&.height

#widthObject



5
# File 'lib/jxl/decoder.rb', line 5

def width = basic_info&.width || image&.width