C# 클래스 Paint.TouchPointSizeColour

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

공개 메소드들

메소드 설명
TouchPointSizeColour ( Vector2 position, TouchType touchType, Microsoft.Xna.Framework.Color color, Rectangle size ) : Microsoft.Xna.Framework

Initializes a new instance of the Paint.TouchPoint class.

메소드 상세

TouchPointSizeColour() 공개 메소드

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