public class NinePatch extends Visual
Modifier and Type | Field and Description |
---|---|
SmartTexture |
texture |
Constructor and Description |
---|
NinePatch(java.lang.Object tx,
int margin) |
NinePatch(java.lang.Object tx,
int left,
int top,
int right,
int bottom) |
NinePatch(java.lang.Object tx,
int x,
int y,
int w,
int h,
int margin) |
NinePatch(java.lang.Object tx,
int x,
int y,
int w,
int h,
int left,
int top,
int right,
int bottom) |
Modifier and Type | Method and Description |
---|---|
void |
draw() |
float |
innerBottom() |
float |
innerHeight() |
float |
innerRight() |
float |
innerWidth() |
int |
marginBottom() |
int |
marginHor() |
int |
marginLeft() |
int |
marginRight() |
int |
marginTop() |
int |
marginVer() |
void |
size(float width,
float height) |
alpha, alpha, bottom, brightness, center, center, color, color, hardlight, hardlight, height, invert, isVisible, lightness, overlapsPoint, overlapsScreenPoint, point, point, point, resetColor, Scale, Scale, setPos, setScale, tint, tint, update, width
camera, destroy, getParent, getVisible, hasParent, isActive, kill, killAndErase, remove, revive, setNullParent, setParent, setVisible
public SmartTexture texture
public NinePatch(java.lang.Object tx, int margin)
public NinePatch(java.lang.Object tx, int left, int top, int right, int bottom)
public NinePatch(java.lang.Object tx, int x, int y, int w, int h, int margin)
public NinePatch(java.lang.Object tx, int x, int y, int w, int h, int left, int top, int right, int bottom)
public int marginLeft()
public int marginRight()
public int marginTop()
public int marginBottom()
public int marginHor()
public int marginVer()
public float innerWidth()
public float innerHeight()
public float innerRight()
public float innerBottom()
public void size(float width, float height)