Module: MSK::FrameHelpers
- Included in:
- SKNode
- Defined in:
- lib/project/helpers/frame_helpers.rb
Instance Method Summary collapse
- #bottom ⇒ Object
- #height ⇒ Object
- #left ⇒ Object
- #mid_x ⇒ Object
- #mid_y ⇒ Object
- #right ⇒ Object
- #top ⇒ Object
- #width ⇒ Object
Instance Method Details
#bottom ⇒ Object
25 26 27 |
# File 'lib/project/helpers/frame_helpers.rb', line 25 def bottom CGRectGetMinY(self.frame) end |
#height ⇒ Object
13 14 15 |
# File 'lib/project/helpers/frame_helpers.rb', line 13 def height CGRectGetHeight(self.frame) end |
#left ⇒ Object
29 30 31 |
# File 'lib/project/helpers/frame_helpers.rb', line 29 def left CGRectGetMinX(self.frame) end |
#mid_x ⇒ Object
5 6 7 |
# File 'lib/project/helpers/frame_helpers.rb', line 5 def mid_x CGRectGetMidX(self.frame) end |
#mid_y ⇒ Object
9 10 11 |
# File 'lib/project/helpers/frame_helpers.rb', line 9 def mid_y CGRectGetMidY(self.frame) end |
#right ⇒ Object
33 34 35 |
# File 'lib/project/helpers/frame_helpers.rb', line 33 def right CGRectGetMaxX(self.frame) end |
#top ⇒ Object
21 22 23 |
# File 'lib/project/helpers/frame_helpers.rb', line 21 def top CGRectGetMaxY(self.frame) end |
#width ⇒ Object
17 18 19 |
# File 'lib/project/helpers/frame_helpers.rb', line 17 def width CGRectGetWidth(self.frame) end |