summaryrefslogtreecommitdiff
path: root/lib/scale/shapes/rectangle.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-04-08 15:54:38 -0600
committermo khan <mo@mokhan.ca>2015-04-08 15:54:38 -0600
commit21bdd0a70c641745e95f508b429e591bda8297ed (patch)
tree68c1be0e34f3713413a7499595bb6718a27ecb7b /lib/scale/shapes/rectangle.rb
parentc7363e63f3d6d60debe3721cecf3354d1904405d (diff)
convert snake case attributes to hyphen case.
Diffstat (limited to 'lib/scale/shapes/rectangle.rb')
-rw-r--r--lib/scale/shapes/rectangle.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/scale/shapes/rectangle.rb b/lib/scale/shapes/rectangle.rb
index 8aaa01e..a51b993 100644
--- a/lib/scale/shapes/rectangle.rb
+++ b/lib/scale/shapes/rectangle.rb
@@ -4,6 +4,9 @@ module Scale
attribute :width, String
attribute :height, String
attribute :fill, String
+ attribute :fill_opactiy, String
+ attribute :stroke, String
+ attribute :stroke_opacity, String
attribute :x, Integer
attribute :y, Integer
attribute :rx, Integer