MCPcopy Create free account
hub / github.com/Var3D/var3dframe / getNinePatch

Method getNinePatch

core/src/core/java/var3d/net/center/VGame.java:1981–1984  ·  view source on GitHub ↗

获取九宫图

(String name, int left, int right, int top,
                                  int bottom)

Source from the content-addressed store, hash-verified

1979 * 获取九宫图
1980 */
1981 public NinePatch getNinePatch(String name, int left, int right, int top,
1982 int bottom) {
1983 return new NinePatch(getTextureRegion(name), left, right, top, bottom);
1984 }
1985
1986 /**
1987 * 获取九宫图

Callers 3

getImageMethod · 0.95
setBackgroundMethod · 0.80
initMethod · 0.80

Calls 1

getTextureRegionMethod · 0.95

Tested by

no test coverage detected