Paint.TouchPointSizeColour.TouchPointSizeColour C# (CSharp) 메소드

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
        public TouchPointSizeColour(Vector2 position, TouchType touchType, Color color, Rectangle size)
        {
            this.Position = position;
            this.TouchType = touchType;
            this.Color = color;
            this.Size = size;
        }
TouchPointSizeColour