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

Method FetchWord

src/pkgDm/Dm2Java.java:1957–1959  ·  view source on GitHub ↗

根据指定的范围,以及指定的颜色描述,提取点阵信息,类似于大漠工具里的单独提取. @param x1 左上角X坐标 @param y1 左上角Y坐标 @param x2 右下角X坐标 @param y2 右下角Y坐标 @param color 颜色格式串.注意,RGB和HSV格式都支持. @param word 待定义的文字,不能为空,且不能为关键符号"$" @return 识别到的点阵信息,可用于AddDict,如果失败,返回空

(int x1,int y1,int x2,int y2,String color,String word)

Source from the content-addressed store, hash-verified

1955 * @return 识别到的点阵信息,可用于AddDict,如果失败,返回空
1956 */
1957 public String FetchWord(int x1,int y1,int x2,int y2,String color,String word){
1958 return Dispatch.call(dm,"FetchWord",x1, y1, x2, y2, color, word).getString();
1959 }
1960
1961 /**
1962 * 在屏幕范围(x1,y1,x2,y2)内,查找string(可以是任意个字符串的组合),并返回符合color_format的坐标位置,相似度sim同Ocr接口描述.

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected