Class: Pdfrb::Content::Operator::ShowText

Inherits:
Base
  • Object
show all
Defined in:
lib/pdfrb/content/operators/text_showing.rb

Overview

Text-showing operators (s9.4.3). Each invokes a show_text hook on the Processor.

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, str) ⇒ Object



11
12
13
# File 'lib/pdfrb/content/operators/text_showing.rb', line 11

def self.invoke(processor, str)
  processor.show_text(str.to_s)
end

.nameObject



10
# File 'lib/pdfrb/content/operators/text_showing.rb', line 10

def self.name; "Tj"; end