OSDN Git Service

NinePatch, added getTexture().
authorNathanSweet <nathan.sweet@gmail.com>
Thu, 4 Oct 2012 05:42:13 +0000 (22:42 -0700)
committerNathanSweet <nathan.sweet@gmail.com>
Thu, 4 Oct 2012 05:42:13 +0000 (22:42 -0700)
gdx/src/com/badlogic/gdx/graphics/g2d/NinePatch.java

index ad31555..ecae85c 100644 (file)
@@ -367,4 +367,8 @@ public class NinePatch {
        public float getTotalHeight () {\r
                return topHeight + middleHeight + bottomHeight;\r
        }\r
+       \r
+       public Texture getTexture () {\r
+               return texture;\r
+       }\r
 }\r