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 RVG::ShapeConstructors#path method to create Path objects in a container.

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