StyleBoxTexture.AxisStretchMode

Values

ValueMeaning
axisStretchModeStretch0

Stretch the stylebox's texture. This results in visible distortion unless the texture size matches the stylebox's size perfectly.

axisStretchModeTile1

Repeats the stylebox's texture to match the stylebox's size according to the nine-patch system.

axisStretchModeTileFit2

Repeats the stylebox's texture to match the stylebox's size according to the nine-patch system. Unlike constant AXIS_STRETCH_MODE_TILE, the texture may be slightly stretched to make the nine-patch texture tile seamlessly.

Meta