Paint.TouchPointSizeColour.TouchPointSizeColour C# (CSharp) Method

TouchPointSizeColour() public method

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
return 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