Drawable
(float width, float height)
| 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) { |
nothing calls this directly
no test coverage detected