Beyond_Beyaan.BBUniStretchButton.MouseDown C# (CSharp) Метод

MouseDown() публичный Метод

public MouseDown ( int x, int y ) : bool
x int
y int
Результат bool
        public bool MouseDown(int x, int y)
        {
            if (x >= _xPos && x < _xPos + _width && y >= _yPos && y < _yPos + _height)
            {
                if (Active)
                {
                    pressed = true;
                }
                return true;
            }
            return false;
        }