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 316 def use(obj, x=0, y=0, width=nil, height=nil) use = Use.new(obj, x, y, width, height) @content << use use end