Methods

Class Index [+]

Quicksearch

Magick::RVG::Polyline

Public Class Methods

new(*points) click to toggle source

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. Use the RVG::ShapeConstructors#polyline method to create Polyline objects in a container.

     # File lib/rvg/embellishable.rb, line 164
164:             def initialize(*points)
165:                 super()
166:                 points = polypoints(points)
167:                 @primitive = :polyline
168:                 @args = Magick::RVG.convert_to_float(*points)
169:             end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.