User Tools

Site Tools


nine_patch_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
nine_patch_image [2017/10/16 12:25] – created justinnine_patch_image [2017/10/16 14:12] justin
Line 2: Line 2:
 ---- ----
  
-A **9-patch image**, also known as a 9-slice image, is a strec+A **9-patch image**, also known as a 9-slice image, is a stretchable image used for certain UI components like the [[dialogue box]], [[item container]] windows, and item tooltips. The image is "sliced" into nine parts: four corners, four borders (top, bottom, left, right) and the center area. The four corners remain static, but the borders will be stretched and the center area repeated to dynamically accommodate any content that is being displayed within the box. 
 + 
 +**Default Dialoge Box Image:**\\ 
 +{{:wiki:dialogue_box_9patch_01.png?nolink|}} 
 + 
 +**In-Game Example:** 
 +{{:wiki:dialogue_box_9patch_02.png?nolink|}}
  
 ~~NOTOC~~ ~~NOTOC~~
nine_patch_image.txt · Last modified: 2017/10/16 14:12 by justin