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

Method ExcludePos

src/pkgDm/Dm2Java.java:1255–1257  ·  view source on GitHub ↗

根据部分Ex接口的返回值,排除指定范围区域内的坐标. @param all_pos 坐标描述串,一般是FindStrEx,FindStrFastEx,FindStrWithFontEx,FindColorEx, FindMultiColorEx,和FindPicEx的返回值. @param type 取值为0或者1, 如果all_pos的内容是由FindPicEx,FindStrEx,FindStrFastEx,FindStrWithFontEx返回,那么取值为0,如果all_pos的内容是由FindColorEx, FindMultiColorEx返回,那么取值为1 @param x1 左上

(String all_pos,int type,int x1,int y1,int x2,int y2 )

Source from the content-addressed store, hash-verified

1253 * @return 经过筛选以后的返回值,格式和type指定的一致.
1254 */
1255 public String ExcludePos(String all_pos,int type,int x1,int y1,int x2,int y2 ){
1256 return Dispatch.call(dm,"ExcludePos",all_pos,type,x1, y1, x2, y2).getString();
1257 }
1258
1259 /**
1260 * 根据部分Ex接口的返回值,然后在所有坐标里找出距离指定坐标最近的那个坐标

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected