public bool hitImageAlpha(Rectangle rect, Texture2D texture, int x, int y) { return hitImageAlpha(0,0, texture, texture.Width * (x - rect.X) / rect.Width, texture.Height * (y - rect.Y) / rect.Height); }