A panel that can be resized without distorting its frame.
The texture is cut into nine: four corners that never stretch, four edges that stretch
along one axis, and a middle that fills. It is what makes one small window texture serve
every window in the game, at any size.
Pixi has this built in; the wrapper exists so that a border can be given as one number,
which is the case for almost every panel, and so that resizing reads the same as it does
on the framework's other widgets.
A panel that can be resized without distorting its frame.
The texture is cut into nine: four corners that never stretch, four edges that stretch along one axis, and a middle that fills. It is what makes one small window texture serve every window in the game, at any size.
Pixi has this built in; the wrapper exists so that a
bordercan be given as one number, which is the case for almost every panel, and so that resizing reads the same as it does on the framework's other widgets.Example