Method: Magick::RVG::ShapeConstructors#polyline
- Defined in:
- lib/rvg/embellishable.rb
permalink #polyline(*points) ⇒ Object
Draws a polyline. The arguments are [x
, y
] pairs that define the points that make up the polyline. At least two points must be specified.
323 324 325 326 327 |
# File 'lib/rvg/embellishable.rb', line 323 def polyline(*points) polyline = Polyline.new(*points) @content << polyline return polyline end |