AxisStretchMode

    NinePatchRect.swift:18
    enum AxisStretchMode

    Cases

    • case stretch

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

    • case tile

      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.

    • case tileFit

      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.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (11) members.

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features