Class: Fusuma::Plugin::Detectors::PinchDetector::Direction
- Inherits:
-
Object
- Object
- Fusuma::Plugin::Detectors::PinchDetector::Direction
- Defined in:
- lib/fusuma/plugin/detectors/pinch_detector.rb
Overview
direction of gesture
Constant Summary collapse
- IN =
'in'- OUT =
'out'
Instance Method Summary collapse
- #calc ⇒ Object
-
#initialize(diameter:) ⇒ Direction
constructor
A new instance of Direction.
- #to_s ⇒ Object
Constructor Details
#initialize(diameter:) ⇒ Direction
Returns a new instance of Direction.
105 106 107 |
# File 'lib/fusuma/plugin/detectors/pinch_detector.rb', line 105 def initialize(diameter:) @diameter = diameter end |