Method: Svgcode::SVG::Command#negate_points_y

Defined in:
lib/svgcode/svg/command.rb

#negate_points_yObject



59
60
61
62
# File 'lib/svgcode/svg/command.rb', line 59

def negate_points_y
  points = @points.collect { |point| point.negate_y }
  Command.new(name: @name, absolute: @absolute, points: points)
end