Class: SugarCube::CoreGraphics::EdgeInsets

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

#bottomObject



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

#leftObject



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

#rightObject



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

#topObject



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