RobotUIKit API
Public Member Functions
RUICalibrateOverlayView Class Reference

A view that can be overlayed to show a rotation gesture is happening. More...

#import <RUICalibrateOverlayView.h>

List of all members.

Public Member Functions

(id) - initWithFrame:
(void) - point1Moved:point2Moved:withRotation:
(void) - calibrationDone

Detailed Description

Instead of using this class directly consider using the RUICalibrateGestureHandler class that will handle displaying this overlay automatically.

See also:
RUICalibrateGestureHandler

Member Function Documentation

- (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

Parameters:
frameThe rect of the screen this will be displayed as an overlay on
Returns:
The instace of this class
- (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

Parameters:
p1The location of the first touch in screen coordinates
p2The location of the second touch in screen coordinates
rotationThe rotation of the gesture since the last call to this method (will animate rings)

The documentation for this class was generated from the following file:
 All Classes Functions Properties