C# 클래스 Sparrow.Touches.Touch

파일 보기 프로젝트 열기: fmotagarcia/sparrow-sharp 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

LocationInSpace() 공개 메소드

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
리턴 Sparrow.Geom.Point

MovementInSpace() 공개 메소드

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

PreviousLocationInSpace() 공개 메소드

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
리턴 Sparrow.Geom.Point