Module: FN::PDF::Node::FitTextflow

Includes:
Node::Base
Defined in:
lib/fn/pdf/node/fit_textflow.rb

Constant Summary

Constants included from Node::Base

Node::Base::CURRENT_PAGE_HEIGHT, Node::Base::CURRENT_PAGE_WIDTH

Instance Method Summary collapse

Methods included from Node::Base

#classify, #has_no_children, #mixin, #value, #visit_children, #with_attributes_like

Instance Method Details

#visit(struct, debug = false) ⇒ Object



18
19
20
21
22
23
# File 'lib/fn/pdf/node/fit_textflow.rb', line 18

def visit(struct, debug = false)
  has_no_children
  struct.fit_textflow struct[self["flow"]], 
      self["x"].to_f,  self["y"].to_f, 
      self["x2"].to_f, self["y2"].to_f, ""
end