, , : NinePatch, .atlas .png.
. JSON LibGdx.
LibGdx Skin. .json .atlas .png, , Button s, TextButton s, Dialog s ..
LibgGdx
JSON
JSON . Dialog. Window, WindowStyle ( ), JSON WindowStyle.
com.badlogic.gdx.scenes.scene2d.ui.Window$WindowStyle: {
default: { titleFont: default-font, background: default-window, titleFontColor: white },
dialog: { titleFont: default-font, background: default-window, titleFontColor: white, stageBackground: dialogDim }
},
, , Dialog s, Window s. , , JSON . , , .fnt .png , JSON, . BitmapFont, Hiero, : https://github.com/libgdx/libgdx/wiki/Hiero. JSON, . , . stageBackground - , , . dialogDim, TintedDrawable JSON. - ATLAS.
ATLAS
ATLAS TextureRegion ATLAS. , , . default-window ATLAS:
default-window
rotate: false
xy: 1, 20
size: 27, 29
split: 4, 3, 20, 3
orig: 27, 29
offset: 0, 0
index: -1
, , , rotate , , . xy - x y TextureRegion ATLAS. size - x . split , TextureRegion ( ATLAS), , : https://github.com/libgdx/libgdx/wiki/Ninepatches. orig, , size. offset 0, 0, , xy . index of -1 , ATLAS, .
. , , , ( ), ATLAS. ATLAS . , , , Skin JSON, .
, :)