Class: CGPointArray
- Inherits:
-
Array
- Object
- Array
- CGPointArray
- Defined in:
- lib/sugarcube/core_graphics.rb
Instance Method Summary collapse
Instance Method Details
#x ⇒ Object
39 40 41 |
# File 'lib/sugarcube/core_graphics.rb', line 39 def x return self[0] end |
#x=(val) ⇒ Object
43 44 45 |
# File 'lib/sugarcube/core_graphics.rb', line 43 def x= val self[0] = val end |
#y ⇒ Object
47 48 49 |
# File 'lib/sugarcube/core_graphics.rb', line 47 def y return self[1] end |
#y=(val) ⇒ Object
51 52 53 |
# File 'lib/sugarcube/core_graphics.rb', line 51 def y= val self[1] = val end |