add basic line.

Johnathon E. Wright committed Nov 10, 2011
commit 2c8d042f0fa63298c4a39bcb92186cd4ed478765
Showing 1 changed file with 13 additions and 0 deletions
sketch/line.rb b/lib/sketch/line.rb +13 -0
@@ @@ -0,0 +1,13 @@
+ class Sketch::Line < Sketch::Element
+
+ has_value :x1
+ has_value :x2
+ has_value :y1
+ has_value :y2
+ has_value :stroke, :default => 'black'
+ has_value :stroke_width, :default => 1
+ has_value :stroke_linecap
+ has_value :stroke_opacity
+
+ end
+