Methods that construct text objects within a container
Draw a text string at (x,y). The string can be omitted. Optionally, define text chunks within the associated block.
# File lib/rvg/text.rb, line 178 def text(x=0, y=0, text=nil, &block) t = Text.new(x, y, text, &block) @content << t return t end
Generated with the Darkfish Rdoc Generator 2.