| Class | Magick::RVG::Path |
| In: |
lib/rvg/embellishable.rb
|
| Parent: | Shape |
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.
# File lib/rvg/embellishable.rb, line 78
78: def initialize(path)
79: super()
80: @primitive = :path
81: @args = [path.to_s]
82: end