Module | Magick::RVG::UseConstructors |
In: |
lib/rvg/embellishable.rb
|
Methods that reference ("use") other drawable objects within a container
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 338 338: def use(obj, x=0, y=0, width=nil, height=nil) 339: use = Use.new(obj, x, y, width, height) 340: @content << use 341: return use 342: end