Class NinePatchTexture

java.lang.Object
zombie.asset.Asset
zombie.core.textures.NinePatchTexture

public class NinePatchTexture extends Asset
  • Field Details

  • Method Details

    • getSharedTexture

      public static NinePatchTexture getSharedTexture(String path)
    • onTexturePacksChanged

      public static void onTexturePacksChanged()
    • Reset

      public static void Reset()
    • getType

      public AssetType getType()
      Specified by:
      getType in class Asset
    • getColumnWidth

      public int getColumnWidth(int column)
    • getRowHeight

      public int getRowHeight(int row)
    • getMinWidth

      public int getMinWidth()
    • getMinHeight

      public int getMinHeight()
    • hasTopRow

      public boolean hasTopRow()
    • hasBottomRow

      public boolean hasBottomRow()
    • hasLeftColumn

      public boolean hasLeftColumn()
    • hasRightColumn

      public boolean hasRightColumn()
    • is9x9

      public boolean is9x9()
    • is3x1

      public boolean is3x1()
    • is1x3

      public boolean is1x3()
    • render

      public void render(float x, float y, float width, float height)
    • render

      public void render(float x, float y, float width, float height, float r, float g, float b, float a)
    • setImageData

      public void setImageData(ImageData imageData)