Class: Pdfrb::Font::CFF::Dict::Entry
- Inherits:
-
Struct
- Object
- Struct
- Pdfrb::Font::CFF::Dict::Entry
- 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
-
#finish ⇒ Object
Returns the value of attribute finish.
-
#operands ⇒ Object
Returns the value of attribute operands.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
Instance Attribute Details
#finish ⇒ Object
Returns the value of attribute finish
15 16 17 |
# File 'lib/pdfrb/font/cff/dict.rb', line 15 def finish @finish end |
#operands ⇒ Object
Returns the value of attribute operands
15 16 17 |
# File 'lib/pdfrb/font/cff/dict.rb', line 15 def operands @operands end |
#operator ⇒ Object
Returns the value of attribute operator
15 16 17 |
# File 'lib/pdfrb/font/cff/dict.rb', line 15 def operator @operator end |
#start ⇒ Object
Returns the value of attribute 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 |