Class: Reflex::ShapeView

Inherits:
Object
  • Object
show all
Defined in:
lib/reflex/shape_view.rb

Instance Method Summary collapse

Instance Method Details

#fill=(*args) ⇒ Object



12
13
14
15
# File 'lib/reflex/shape_view.rb', line 12

def fill= (*args)
  set_fill Color.color *args
  fill
end

#stroke=(*args) ⇒ Object



17
18
19
20
# File 'lib/reflex/shape_view.rb', line 17

def stroke= (*args)
  set_stroke Color.color *args
  stroke
end