class SvgPathify::Shapes::Ellipse

Public Instance Methods

path_commands() click to toggle source
# File lib/svg_pathify/shapes/ellipse.rb, line 9
def path_commands
  [
    "M#{cx-rx} #{cy}",
    "A#{rx},#{ry},0,1,1,#{cx-rx},#{cy+1}",
    "Z"
  ].join
end