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

Method FindMultiColor

src/pkgDm/Dm2Java.java:1498–1500  ·  view source on GitHub ↗

根据指定的多点查找颜色坐标 @param x1 区域的左上X坐标 @param y1 区域的左上Y坐标 @param x2 区域的右下X坐标 @param y2 区域的右下Y坐标 @param first_color 颜色 格式为"RRGGBB-DRDGDB",比如"123456-000000" 这里的含义和按键自带Color插件的意义相同,只不过我的可以支持偏色 所有的偏移色坐标都相对于此颜色.注意,这里只支持RGB颜色. @param offset_color 偏移颜色 可以支持任意多个点 格式和按键自带的Color插件意义相同<

(int x1,int y1,int x2,int y2,String first_color,String offset_color,double sim,int dir,Variant intX,Variant intY)

Source from the content-addressed store, hash-verified

1496 * @return 0:没找到 1:找到
1497 */
1498 public int FindMultiColor(int x1,int y1,int x2,int y2,String first_color,String offset_color,double sim,int dir,Variant intX,Variant intY){
1499 return Dispatch.callN(dm,"FindMultiColor",new Object[]{x1, y1, x2, y2,first_color,offset_color,sim, dir,intX,intY}).getInt();
1500 }
1501
1502 /**
1503 * 根据指定的多点查找颜色坐标

Callers

nothing calls this directly

Calls 2

callNMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected