Click or drag to resize

NinePatchRectAxisStretchMode Enumeration

[Missing <summary> documentation for "T:Godot.NinePatchRect.AxisStretchMode"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum AxisStretchMode
Members
  Member nameValueDescription
Stretch0

Stretches the center texture across the NinePatchRect. This may cause the texture to be distorted.

Tile1

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.

Note: Only supported when using the GLES3 renderer. When using the GLES2 renderer, this will behave like .

TileFit2

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 . The texture must be seamless for this to work without displaying artifacts between edges.

Note: Only supported when using the GLES3 renderer. When using the GLES2 renderer, this will behave like .

See Also