Skip to main content

CCGesture

CCGesture

Cocos2D

Type: Struct

Constructors

CCGesture(GestureType, TimeSpan, CCPoint, CCPoint, CCPoint, CCPoint)

Initializes a new <xref href="Microsoft.Xna.Framework.Input.Touch.GestureSample" data-throw-if-not-resolved="false"></xref>.

Propertys

Delta(Cocos2D.CCPoint)

Gets the delta information for the first touch-point in the gesture sample.

Delta2(Cocos2D.CCPoint)

Gets the delta information for the second touch-point in the gesture sample.

Position(Cocos2D.CCPoint)

Gets the position of the first touch-point in the gesture sample.

Position2(Cocos2D.CCPoint)

Gets the position of the second touch-point in the gesture sample.

Timestamp(System.TimeSpan)

Gets the starting time for this multi-touch gesture sample.

Members

GestureType