class SvgPathify::Shapes::Rect

Public Instance Methods

path_commands() click to toggle source
# File lib/svg_pathify/shapes/rect.rb, line 9
def path_commands
  "M0 0l#{width} 0l0 #{height}l#{-width} 0l0 #{-height}Z"
end