Module Magick::RVG::UseConstructors
In: lib/rvg/embellishable.rb
Enum GeometryValue Stylable RVG\n[lib/rvg/clippath.rb\nlib/rvg/container.rb\nlib/rvg/deep_equal.rb\nlib/rvg/describable.rb\nlib/rvg/embellishable.rb\nlib/rvg/misc.rb\nlib/rvg/paint.rb\nlib/rvg/pathdata.rb\nlib/rvg/rvg.rb\nlib/rvg/stretchable.rb\nlib/rvg/stylable.rb\nlib/rvg/text.rb\nlib/rvg/transformable.rb\nlib/rvg/units.rb] Transformable Stretchable Embellishable Describable Duplicatable Comparable Image ImageList Enumerable Geometry HatchFill Draw lib/RMagick.rb lib/rvg/rvg.rb ObjectData Application Pre_ObjectData_Descriptor Envelope Post_ObjectData_Descriptor IPTC Magick dot/m_14_0.png

Methods that reference ("use") other drawable objects within a container

Methods

use  

Public Instance methods

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.

[Source]

     # 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

[Validate]