C# 클래스 Paint.TouchPoint

Touch point. Immutable class for tracking the location and type of 'touch'/gesture made by the user
상속: ITouchPoint
파일 보기 프로젝트 열기: RandolphBurt/MonoGame-iOS-SimplePaint 1 사용 예제들

공개 메소드들

메소드 설명
TouchPoint ( Vector2 position, TouchType touchType ) : Microsoft.Xna.Framework

Initializes a new instance of the Paint.TouchPoint class.

메소드 상세

TouchPoint() 공개 메소드

Initializes a new instance of the Paint.TouchPoint class.
public TouchPoint ( Vector2 position, TouchType touchType ) : Microsoft.Xna.Framework
position Microsoft.Xna.Framework.Vector2 The position on screen that the user touched.
touchType TouchType Touch type (FreeFrag, Tap etc)
리턴 Microsoft.Xna.Framework