lib/rays/polygon.rb in rays-0.1.48 vs lib/rays/polygon.rb in rays-0.1.49
- old
+ new
@@ -77,15 +77,15 @@
nsegment: nil)
ellipse! args, center, radius, hole, from, to, nsegment
end
- def self.curve(*points, loop: false)
- curve! points, loop
+ def self.curve(*points, loop: false, nsegment: nil)
+ curve! points, loop, nsegment
end
- def self.bezier(*points, loop: false)
- bezier! points, loop
+ def self.bezier(*points, loop: false, nsegment: nil)
+ bezier! points, loop, nsegment
end
end# Polygon