Module nine_patch

Source

Structs§

NinePatch
NinePatch widget is used to split an image in nine sections, where each corner section will remain the same, while the middle parts between each corner will be used to evenly fill the space. This widget is primarily used in the UI to create resizable frames, buttons, windows, etc.
NinePatchBuilder
Creates instances of NinePatch widget.
TextureSlice
A texture slice that defines a region in a texture and margins that will be used to split the section in nine pieces.

Enums§

NinePatchMessage
A set of possible nine patch messages.
StretchMode
Stretch mode for the middle sections of NinePatch widget.