MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / CapturePre

Method CapturePre

src/pkgDm/Dm2Java.java:1372–1374  ·  view source on GitHub ↗

抓取上次操作的图色区域,保存为file(24位位图) 注意,要开启此函数,必须先调用EnableDisplayDebug 任何图色或者文字识别函数,都可以通过这个来截取. 具体可以查看常见问题中"本机文字识别正常,别的机器为何不正常"这一节. @param file 保存的文件名,保存的地方一般为SetPath中设置的目录 当然这里也可以指定全路径名. @return 0: 失败 1:成功

(String file)

Source from the content-addressed store, hash-verified

1370 * @return 0: 失败 1:成功
1371 */
1372 public int CapturePre(String file){
1373 return Dispatch.call(dm,"CapturePre",file).getInt();
1374 }
1375
1376 /**
1377 * 比较指定坐标点(x,y)的颜色

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected