Class: SugarCube::CoreGraphics::EdgeInsets
- Defined in:
- lib/sugarcube/core_graphics.rb
Instance Method Summary collapse
- #bottom ⇒ Object
- #bottom=(val) ⇒ Object
- #left ⇒ Object
- #left=(val) ⇒ Object
- #right ⇒ Object
- #right=(val) ⇒ Object
- #top ⇒ Object
- #top=(val) ⇒ Object
Methods inherited from Array
Instance Method Details
#bottom ⇒ Object
360 361 362 |
# File 'lib/sugarcube/core_graphics.rb', line 360 def bottom return self[2] end |
#bottom=(val) ⇒ Object
364 365 366 |
# File 'lib/sugarcube/core_graphics.rb', line 364 def bottom= val self[2] = val end |
#left ⇒ Object
352 353 354 |
# File 'lib/sugarcube/core_graphics.rb', line 352 def left return self[1] end |
#left=(val) ⇒ Object
356 357 358 |
# File 'lib/sugarcube/core_graphics.rb', line 356 def left= val self[1] = val end |
#right ⇒ Object
368 369 370 |
# File 'lib/sugarcube/core_graphics.rb', line 368 def right return self[3] end |
#right=(val) ⇒ Object
372 373 374 |
# File 'lib/sugarcube/core_graphics.rb', line 372 def right= val self[3] = val end |
#top ⇒ Object
344 345 346 |
# File 'lib/sugarcube/core_graphics.rb', line 344 def top return self[0] end |
#top=(val) ⇒ Object
348 349 350 |
# File 'lib/sugarcube/core_graphics.rb', line 348 def top= val self[0] = val end |