Class: Core::GUI::Image
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
Attributes inherited from Element
#h, #w, #x, #xoff, #y, #yoff, #zoff
Instance Method Summary collapse
- #draw ⇒ Object
-
#initialize(x, y, img) ⇒ Image
constructor
A new instance of Image.
Methods inherited from Element
Constructor Details
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
5 6 7 |
# File 'lib/gui/image.rb', line 5 def color @color end |