| Module | Magick::RVG::UseConstructors |
| In: |
lib/rvg/embellishable.rb
|
Reference an object to be inserted into the container‘s content. [x,y] is the offset from the upper-left corner. If the argument is an RVG or Image object and width and height are specified, these values will override the width and height attributes on the argument.
# File lib/rvg/embellishable.rb, line 339
339: def use(obj, x=0, y=0, width=nil, height=nil)
340: use = Use.new(obj, x, y, width, height)
341: @content << use
342: return use
343: end