module Magick::RVG::TextConstructors
Methods that construct text objects within a container
Public Instance Methods
text(x=0, y=0, text=nil, &block)
click to toggle source
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 165 def text(x=0, y=0, text=nil, &block) t = Text.new(x, y, text, &block) @content << t t end