Add dash option to drawing operations

Currently only impacts rect, but it will impact others with the new design shortly
This commit is contained in:
Andy Meneely
2015-06-08 15:26:33 -04:00
parent 12c5cd675b
commit 8a7841d64f
8 changed files with 47 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ require 'squib'
Squib::Deck.new do
background color: :white
rect x: 300, y: 100, width: 200, height: 50
rect x: 300, y: 100, width: 200, height: 50, dash: '4 2'
rect x: 300, y: 300, width: 400, height: 400,
fill_color: :blue, stroke_color: :red, stroke_width: 50.0,