What does nine-slicing preserve?
image.type = Image.Type.Sliced;
- The corner proportions
- The original file size
- The sprite's pivot point
- The draw order on screen
Corners stay fixed while the edges and centre stretch, so borders never smear.
Play Game Dev ▸