Class: Pdfrb::Content::Operator::MoveToNextLineShowText
- Defined in:
- lib/pdfrb/content/operators/text_showing.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.invoke(processor, str) ⇒ Object
27 28 29 30 31 |
# File 'lib/pdfrb/content/operators/text_showing.rb', line 27 def self.invoke(processor, str) leading = processor.graphics_state.text_state.leading processor.move_text(0, -leading, set_leading: false) processor.show_text(str.to_s) end |
.name ⇒ Object
26 |
# File 'lib/pdfrb/content/operators/text_showing.rb', line 26 def self.name; "'"; end |