class Magick::RVG::Path

Public Class Methods

new(path) click to toggle source

Define an SVG path. The argument can be either a path string or a PathData object. Use the Magick::RVG::ShapeConstructors#path method to create Path objects in a container.

Calls superclass method
# File lib/rvg/embellishable.rb, line 69
def initialize(path)
    super()
    @primitive = :path
    @args = [path.to_s]
end