Method: Magick::Draw#path
- Defined in:
- lib/rmagick_internal.rb
#path(cmds) ⇒ Object
Draw using SVG-compatible path drawing commands. Note that the primitive requires that the commands be surrounded by quotes or apostrophes. Here we simply use apostrophes.
457 458 459 |
# File 'lib/rmagick_internal.rb', line 457 def path(cmds) primitive "path '" + cmds + "'" end |