Class: Pdfrb::Content::Operator::Rectangle

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, width, height) ⇒ Object



56
57
58
# File 'lib/pdfrb/content/operators/path.rb', line 56

def self.invoke(processor, x, y, width, height)
  processor.path_rectangle(x.to_f, y.to_f, width.to_f, height.to_f)
end

.nameObject



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

def self.name; "re"; end