Class NinePatchTexture
java.lang.Object
zombie.asset.Asset
zombie.core.textures.NinePatchTexture
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AssetTypestatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionintgetColumnWidth(int int0) intintintgetRowHeight(int int0) static NinePatchTexturegetSharedTexture(String string0) getType()booleanbooleanbooleanbooleanbooleanis1x3()booleanis3x1()booleanis9x9()static voidvoidrender(float float0, float float1, float float2, float float3) voidrender(float float4, float float5, float float6, float float7, float float0, float float1, float float2, float float3) static voidReset()voidsetImageData(ImageData imageData0) Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onCreated, removeDependency, setAssetParams
-
Field Details
-
ASSET_TYPE
-
TOP_LEFT
public static final int TOP_LEFT- See Also:
-
TOP_MIDDLE
public static final int TOP_MIDDLE- See Also:
-
TOP_RIGHT
public static final int TOP_RIGHT- See Also:
-
MIDDLE_LEFT
public static final int MIDDLE_LEFT- See Also:
-
MIDDLE_CENTER
public static final int MIDDLE_CENTER- See Also:
-
MIDDLE_RIGHT
public static final int MIDDLE_RIGHT- See Also:
-
BOTTOM_LEFT
public static final int BOTTOM_LEFT- See Also:
-
BOTTOM_MIDDLE
public static final int BOTTOM_MIDDLE- See Also:
-
BOTTOM_RIGHT
public static final int BOTTOM_RIGHT- See Also:
-
-
Method Details
-
onTexturePacksChanged
public static void onTexturePacksChanged() -
Reset
public static void Reset() -
getType
-
getColumnWidth
public int getColumnWidth(int int0) -
getRowHeight
public int getRowHeight(int int0) -
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 float0, float float1, float float2, float float3) -
render
public void render(float float4, float float5, float float6, float float7, float float0, float float1, float float2, float float3) -
setImageData