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

Method GetPicSize

src/pkgDm/Dm2Java.java:1690–1692  ·  view source on GitHub ↗

获取指定图片的尺寸,如果指定的图片已经被加入缓存,则从缓存中获取信息. 此接口也会把此图片加入缓存. @param pic_name 文件名比如"1.bmp" @return 形式如 "w,h" 比如"30,20"

(String pic_name)

Source from the content-addressed store, hash-verified

1688 * @return 形式如 "w,h" 比如"30,20"
1689 */
1690 public String GetPicSize(String pic_name){
1691 return Dispatch.call(dm,"GetPicSize",pic_name).getString();
1692 }
1693
1694 /**
1695 * 获取指定区域的图像,用二进制数据的方式返回,(不适合按键使用)方便二次开发

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getStringMethod · 0.45

Tested by

no test coverage detected