根据部分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)
| 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 | /** |