Class: HexaPDF::Type::Image::Info

Inherits:
Struct
  • Object
show all
Defined in:
lib/hexapdf/type/image.rb

Overview

The structure that is returned by the Image#info method.

Instance Attribute Summary collapse

Instance Attribute Details

#bits_per_component ⇒ Object

Returns the value of attribute bits_per_component

Returns:

  • (Object) —

    the current value of bits_per_component



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def bits_per_component
  @bits_per_component
end

#color_space ⇒ Object

Returns the value of attribute color_space

Returns:

  • (Object) —

    the current value of color_space



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def color_space
  @color_space
end

#components ⇒ Object

Returns the value of attribute components

Returns:

  • (Object) —

    the current value of components



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def components
  @components
end

#extension ⇒ Object

Returns the value of attribute extension

Returns:

  • (Object) —

    the current value of extension



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def extension
  @extension
end

#height ⇒ Object

Returns the value of attribute height

Returns:

  • (Object) —

    the current value of height



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def height
  @height
end

#indexed ⇒ Object

Returns the value of attribute indexed

Returns:

  • (Object) —

    the current value of indexed



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def indexed
  @indexed
end

#type ⇒ Object

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def type
  @type
end

#width ⇒ Object

Returns the value of attribute width

Returns:

  • (Object) —

    the current value of width



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def width
  @width
end

#writable ⇒ Object

Returns the value of attribute writable

Returns:

  • (Object) —

    the current value of writable



52
53
54
# File 'lib/hexapdf/type/image.rb', line 52

def writable
  @writable
end