--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Add text to the page, but ensure that it fits within a certain width. If it does not fit then put in as much as possible, breaking at word boundaries; return the remainder. <tt>justification</tt> and <tt>angle</tt> can also be specified for the text.
- !ruby/struct:SM::Flow::P 
  body: This will display the text; if it goes beyond the width <tt>width</tt>, it will backttrack to the previous space or hyphen and return the remainder of the text.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "+justification+:"
    body: ":left, :right, :center, or :full"
  type: :NOTE
full_name: PDF::Writer#add_text_wrap
is_singleton: false
name: add_text_wrap
params: (x, y, width, text, size = nil, justification = :left, angle = 0, test = false)
visibility: public
