| 463 | } |
| 464 | |
| 465 | function _getRotationData(args: GestureEventData): RotationGestureEventData { |
| 466 | const recognizer = <UIRotationGestureRecognizer>args.ios; |
| 467 | |
| 468 | return <RotationGestureEventData>{ |
| 469 | type: args.type, |
| 470 | view: args.view, |
| 471 | ios: args.ios, |
| 472 | android: undefined, |
| 473 | rotation: recognizer.rotation * (180.0 / Math.PI), |
| 474 | object: args.view, |
| 475 | eventName: toString(args.type), |
| 476 | state: getState(recognizer), |
| 477 | }; |
| 478 | } |
| 479 | |
| 480 | function _getLongPressData(args: GestureEventData): GestureEventDataWithState { |
| 481 | const recognizer = <UILongPressGestureRecognizer>args.ios; |