SwiftlyS2

MenuOptionTextStyle

Enum MenuOptionTextStyle

Namespace: SwiftlyS2.Shared.Menus

Assembly: SwiftlyS2.CS2.dll

Defines the horizontal text overflow behavior for menu options.

public enum MenuOptionTextStyle

Fields

  • ScrollLeftFade — Scrolls text to the left with fade-out effect. Text scrolls left and gradually fades out at the left edge.
  • ScrollLeftLoop — Scrolls text to the left in a continuous loop. Text exits from the left edge and re-enters from the right edge.
  • ScrollRightFade — Scrolls text to the right with fade-out effect. Text scrolls right and gradually fades out at the right edge.
  • ScrollRightLoop — Scrolls text to the right in a continuous loop. Text exits from the right edge and re-enters from the left edge.
  • TruncateBothEnds — Truncates text from both ends when it exceeds the maximum width, keeping the middle portion. Example: "Very Long Text Item" becomes "Long Text"
  • TruncateEnd — Truncates text at the end when it exceeds the maximum width, keeping the start portion. Example: "Very Long Text Item" becomes "Very Long..."

On this page