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

Method GetAveHSV

src/pkgDm/Dm2Java.java:1624–1626  ·  view source on GitHub ↗

获取范围(x1,y1,x2,y2)颜色的均值,返回格式"H.S.V" @param x1 左上角X @param y1 左上角Y @param x2 右下角X @param y2 右下角Y @return 颜色字符串

(int x1,int y1,int x2,int y2)

Source from the content-addressed store, hash-verified

1622 * @return 颜色字符串
1623 */
1624 public String GetAveHSV(int x1,int y1,int x2,int y2){
1625 return Dispatch.call(dm,"GetAveHSV",x1,y1,x2,y2).getString();
1626 }
1627
1628 /**
1629 * 获取范围(x1,y1,x2,y2)颜色的均值,返回格式"RRGGBB"

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected