Class: Pdfrb::Font::CFF::Dict::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/pdfrb/font/cff/dict.rb

Overview

One operator plus its trailing operands, with the byte range it occupied in the source DICT.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#finishObject

Returns the value of attribute finish

Returns:

  • (Object)

    the current value of finish



15
16
17
# File 'lib/pdfrb/font/cff/dict.rb', line 15

def finish
  @finish
end

#operandsObject

Returns the value of attribute operands

Returns:

  • (Object)

    the current value of operands



15
16
17
# File 'lib/pdfrb/font/cff/dict.rb', line 15

def operands
  @operands
end

#operatorObject

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



15
16
17
# File 'lib/pdfrb/font/cff/dict.rb', line 15

def operator
  @operator
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



15
16
17
# File 'lib/pdfrb/font/cff/dict.rb', line 15

def start
  @start
end

Instance Method Details

#int_operand(i = 0) ⇒ Object



16
17
18
19
# File 'lib/pdfrb/font/cff/dict.rb', line 16

def int_operand(i = 0)
  v = operands[i]
  v.is_a?(Integer) ? v : nil
end