Methods

Class Index [+]

Quicksearch

Magick::RVG::UseConstructors

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

Public Instance Methods

use(obj, x=0, y=0, width=nil, height=nil) click to toggle source

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.