C# Class Sparrow.Touches.Touch

Afficher le fichier Open project: fmotagarcia/sparrow-sharp Class Usage Examples

Méthodes publiques

Méthode Description
LocationInSpace ( DisplayObject space ) : Point

Converts the current location of a touch to the local coordinate system of a display object.

MovementInSpace ( DisplayObject space ) : Point

Returns the movement of the touch between the current and previous location.

PreviousLocationInSpace ( DisplayObject space ) : Point

Converts the previous location of a touch to the local coordinate system of a display object.

Method Details

LocationInSpace() public méthode

Converts the current location of a touch to the local coordinate system of a display object.
public LocationInSpace ( DisplayObject space ) : Point
space Sparrow.Display.DisplayObject
Résultat Sparrow.Geom.Point

MovementInSpace() public méthode

Returns the movement of the touch between the current and previous location.
public MovementInSpace ( DisplayObject space ) : Point
space Sparrow.Display.DisplayObject
Résultat Sparrow.Geom.Point

PreviousLocationInSpace() public méthode

Converts the previous location of a touch to the local coordinate system of a display object.
public PreviousLocationInSpace ( DisplayObject space ) : Point
space Sparrow.Display.DisplayObject
Résultat Sparrow.Geom.Point