RobotUIKit API
Properties
RUIFlickGestureRecognizer Class Reference

Recognize 'flick' gestures and get their heading, speed and distance. More...

#import <RUIFlickGestureRecognizer.h>

List of all members.

Properties

double heading
CGPoint translation
double speed

Detailed Description

This gesture recognizer provides the heading, distance and speed of the flick gesture for use in controlling the robot. This gesture makes use of the UIGestureRecognizerStateBegan, UIGestureRecognizerStateChanged and UIGestureRecognizerStateEnded states to provide continuous feedback on the flick gesture that was recognized.


Property Documentation

- (double) heading [read, assign]

The heading of the flick gesture (in radians, see atan2)

- (double) speed [read, assign]

The speed of the flick (in points per second)

- (CGPoint) translation [read, assign]

The distance from the initial touch point to the end of the flick.


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