MCPcopy Index your code
hub / github.com/HelloBush/Java_MHXYdemo / GetColor

Method GetColor

src/pkgDm/Dm2Java.java:1646–1648  ·  view source on GitHub ↗

获取(x,y)的颜色,颜色返回格式"RRGGBB",注意,和按键的颜色格式相反 @param x X坐标 @param y Y坐标 @return 颜色字符串(注意这里都是小写字符,和工具相匹配)

(int x,int y)

Source from the content-addressed store, hash-verified

1644 * @return 颜色字符串(注意这里都是小写字符,和工具相匹配)
1645 */
1646 public String GetColor(int x,int y){
1647 return Dispatch.call(dm,"GetColor",x,y).getString();
1648 }
1649
1650 /**
1651 * 获取(x,y)的颜色,颜色返回格式"BBGGRR"

Callers 2

runMethod · 0.80
GameStateMethod · 0.80

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected