Package | Description |
---|---|
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Modifier and Type | Method and Description |
---|---|
NinePatch |
TextureAtlas.createPatch(String name)
Returns the first region found with the specified name as a
NinePatch . |
Constructor and Description |
---|
NinePatch(NinePatch ninePatch) |
NinePatch(NinePatch ninePatch,
Color color) |
Modifier and Type | Method and Description |
---|---|
NinePatch |
Skin.getPatch(String name)
Returns a registered ninepatch.
|
Constructor and Description |
---|
Image(NinePatch patch)
Creates an image stretched, and aligned center.
|
Modifier and Type | Method and Description |
---|---|
NinePatch |
NinePatchDrawable.getPatch() |
Modifier and Type | Method and Description |
---|---|
void |
NinePatchDrawable.setPatch(NinePatch patch)
Sets this drawable's ninepatch and set the min width, min height, top height, right width, bottom height, and left width to
the patch's padding.
|
Constructor and Description |
---|
NinePatchDrawable(NinePatch patch) |
Copyright © 2018. All rights reserved.