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

Method getRectDrawable

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

Drawable

(float width, float height)

Source from the content-addressed store, hash-verified

1851 * Drawable
1852 */
1853 public TextureRegionDrawable getRectDrawable(float width, float height) {
1854 TextureRegion tex = new TextureRegion(getPointTexture());
1855 tex.setRegion(0, 0, width, height);
1856 return new TextureRegionDrawable(tex);
1857 }
1858
1859 public TextureRegionDrawable getRectColorDrawable(float width,
1860 float height, Color color) {

Callers

nothing calls this directly

Calls 1

getPointTextureMethod · 0.95

Tested by

no test coverage detected