Class: Sketch::Path

Inherits:
Element
  • Object
show all
Defined in:
lib/sketch/path.rb

Instance Method Summary collapse

Methods inherited from Element

central_point, #draw, #svg_node

Instance Method Details

#svg_attributesObject



9
10
11
12
# File 'lib/sketch/path.rb', line 9

def svg_attributes
  out = super
  out['d'] = out['d'].join(' ') if out.has_key('d')
end