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

Method SortPosDistance

src/pkgDm/Dm2Java.java:1279–1281  ·  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返回,那么

(String all_pos,int type,int x,int y)

Source from the content-addressed store, hash-verified

1277 * @return 返回的格式和type指定的格式一致.
1278 */
1279 public String SortPosDistance(String all_pos,int type,int x,int y){
1280 return Dispatch.call(dm,"SortPosDistance",all_pos,type,x,y).getString();
1281 }
1282
1283/////////////////////////////图色////////////////////////////////////
1284 /**

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected