Class: Pdfrb::Content::Operator::LineTo

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

Class Method Summary collapse

Methods inherited from Base

register, serialize

Class Method Details

.invoke(processor, x, y) ⇒ Object



18
19
20
# File 'lib/pdfrb/content/operators/path.rb', line 18

def self.invoke(processor, x, y)
  processor.path_line_to(x.to_f, y.to_f)
end

.nameObject



17
# File 'lib/pdfrb/content/operators/path.rb', line 17

def self.name; "l"; end