Class | Magick::RVG::PathData |
In: |
lib/rvg/pathdata.rb
|
Parent: | Object |
The PathData class provides an object-oriented way to produce an SVG path. Each of the methods corresponds to a path command. Construct a path by calling one or more methods. The path object can be passed as an argument to the RVG::ShapeConstructors#path method.
Add an arc command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a curveto (cubic Bezier) command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a horizontal lineto command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a lineto command. Any number of x,y coordinate pairs may be specified. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a moveto command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a quadratic Bezier curveto command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a smooth curveto (cubic Bezier) command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.
Add a smooth quadratic Bezier curveto command. If abs is true the coordinates are absolute, otherwise the coordinates are relative.