草庐IT

autoSumPoint

全部标签

c# - 显示器特定区域的像素搜索

所以我试图在给定区域的屏幕中间找到特定的图案。我正在使用AutoItX库和PixelSearch方法。矩形X:1980矩形Y:630矩形尺寸X:1240矩形尺寸Y:180它不会返回已找到图案,但如果我将矩形的线调整为0,0它表明已找到图案。使用了以下脚本:publicvoidMonsterScan(){if(SixStarMax()==true){Console.WriteLine("Patternfound");}}publicboolSixStarMax(){Rectanglerect=newRectangle(1980,630,1240,180);autoSumPoint=Aut