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

Method EnableGetColorByCapture

src/pkgDm/Dm2Java.java:1402–1404  ·  view source on GitHub ↗

允许调用GetColor GetColorBGR GetColorHSV 以及 CmpColor时,以截图的方式来获取颜色。 @param enable 0 为关闭 1 为开启 @return 0: 失败 1:成功

(int enable)

Source from the content-addressed store, hash-verified

1400 * @return 0: 失败 1:成功
1401 */
1402 public int EnableGetColorByCapture(int enable){
1403 return Dispatch.call(dm,"EnableGetColorByCapture",enable).getInt();
1404 }
1405
1406 /**
1407 * 查找指定区域内的颜色,颜色格式"RRGGBB-DRDGDB",注意,和按键的颜色格式相反

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected