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 AssetType
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
getColumnWidth
(int int0) int
int
int
getRowHeight
(int int0) static NinePatchTexture
getSharedTexture
(String string0) getType()
boolean
boolean
boolean
boolean
boolean
is1x3()
boolean
is3x1()
boolean
is9x9()
static void
void
render
(float float0, float float1, float float2, float float3) void
render
(float float4, float float5, float float6, float float7, float float0, float float1, float float2, float float3) static void
Reset()
void
setImageData
(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