Method: Magick::RVG::ShapeConstructors#path

Defined in:
lib/rvg/embellishable.rb

#path(path) ⇒ Object

Draws a path defined by an SVG path string or a PathData object.

[View source]

287
288
289
290
291
# File 'lib/rvg/embellishable.rb', line 287

def path(path)
    path = Path.new(path)
    @content << path
    return path
end