Enum NinePatchRect.AxisStretchMode
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum NinePatchRect.AxisStretchMode : long
Fields
Stretch = 0
Stretches the center texture across the NinePatchRect. This may cause the texture to be distorted.
Tile = 1
Repeats the center texture across the NinePatchRect. This won't cause any visible distortion. The texture must be seamless for this to work without displaying artifacts between edges.
TileFit = 2
Repeats the center texture across the NinePatchRect, but will also stretch the texture to make sure each tile is visible in full. This may cause the texture to be distorted, but less than Stretch. The texture must be seamless for this to work without displaying artifacts between edges.