RobotUIKit API
|
A view that can be overlayed to show a rotation gesture is happening. More...
#import <RUICalibrateOverlayView.h>
Public Member Functions | |
(id) | - initWithFrame: |
(void) | - point1Moved:point2Moved:withRotation: |
(void) | - calibrationDone |
Instead of using this class directly consider using the RUICalibrateGestureHandler class that will handle displaying this overlay automatically.
- (void) calibrationDone |
Called when the touch gesture ends to make the rings animate out
- (id) initWithFrame: | (CGRect) | frame |
Use this initializer to have the rings animate in properly
frame | The rect of the screen this will be displayed as an overlay on |
- (void) point1Moved: | (CGPoint) | p1 | |
point2Moved: | (CGPoint) | p2 | |
withRotation: | (float) | rotation | |
Should be called as the touches are processed and the gesture is recognized to animate the overlay
p1 | The location of the first touch in screen coordinates |
p2 | The location of the second touch in screen coordinates |
rotation | The rotation of the gesture since the last call to this method (will animate rings) |