Module: CVFFI::CvSizeFunctions
- Included in:
- CvSizeBase
- Defined in:
- lib/opencv-ffi-wrappers/core/size.rb
Instance Method Summary collapse
Instance Method Details
#==(b) ⇒ Object
17 18 19 |
# File 'lib/opencv-ffi-wrappers/core/size.rb', line 17 def ==(b) width == b.width and height == b.height end |
#===(b) ⇒ Object
14 15 16 |
# File 'lib/opencv-ffi-wrappers/core/size.rb', line 14 def ===(b) width === b.width and height === b.height end |
#x ⇒ Object
8 |
# File 'lib/opencv-ffi-wrappers/core/size.rb', line 8 def x; self.width; end |
#x=(a) ⇒ Object
11 |
# File 'lib/opencv-ffi-wrappers/core/size.rb', line 11 def x=(a); self.width=a; end |
#y ⇒ Object
9 |
# File 'lib/opencv-ffi-wrappers/core/size.rb', line 9 def y; self.height; end |
#y=(a) ⇒ Object
12 |
# File 'lib/opencv-ffi-wrappers/core/size.rb', line 12 def y=(a); self.height=a; end |