@ApiStatus.NonExtendable public interface NineSliceGuiScaling extends GuiScaling
GuiScaling that slices the sprite into 4 corners,
4 edges and 1 center slice, which will be tiled across the desired
space.GuiScaling.nineSlice(int, int, GuiBorder)| Modifier and Type | Method and Description |
|---|---|
@NotNull GuiBorder |
border()
Returns the border sizes.
|
int |
height()
Returns the number of pixels for the sprite to cover
on-screen across its height, always positive.
|
int |
width()
Returns the number of pixels for the sprite to cover
on-screen across its width, always positive.
|
nineSlice, nineSlice, stretch, tileint width()
int height()
@NotNull @NotNull GuiBorder border()