Class: SugarCube::CoreGraphics::Offset

Inherits:
Array
  • Object
show all
Defined in:
lib/sugarcube/core_graphics.rb

Instance Method Summary collapse

Methods inherited from Array

#to_pointer

Instance Method Details

#horizontalObject



381
382
383
# File 'lib/sugarcube/core_graphics.rb', line 381

def horizontal
  return self[0]
end

#horizontal=(val) ⇒ Object



385
386
387
# File 'lib/sugarcube/core_graphics.rb', line 385

def horizontal= val
  self[0] = val
end

#verticalObject



389
390
391
# File 'lib/sugarcube/core_graphics.rb', line 389

def vertical
  return self[1]
end

#vertical=(val) ⇒ Object



393
394
395
# File 'lib/sugarcube/core_graphics.rb', line 393

def vertical= val
  self[1] = val
end