Table of Contents

Enum StyleBoxTexture.AxisStretchMode

Namespace
Godot
Assembly
GodotSharp.dll
public enum StyleBoxTexture.AxisStretchMode : long

Fields

Stretch = 0

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

Tile = 1

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

TileFit = 2

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