swiftlys2/docs/api/releases/features/ai/
API Reference › Menus

MenuOptionTextStyle

Enum
Namespace: SwiftlyS2.Shared.Menus · Assembly: SwiftlyS2.CS2.dll
[Obsolete("The classic menu system is deprecated and will be removed in future versions. Use Core.Menu (IMenuService) instead.")]
public enum MenuOptionTextStyle

Defines the horizontal text overflow behavior for menu options.

View source
ScrollLeftFade

Scrolls text to the left with fade-out effect. Text scrolls left and gradually fades out at the left edge.

2
ScrollLeftLoop

Scrolls text to the left in a continuous loop. Text exits from the left edge and re-enters from the right edge.

4
ScrollRightFade

Scrolls text to the right with fade-out effect. Text scrolls right and gradually fades out at the right edge.

3
ScrollRightLoop

Scrolls text to the right in a continuous loop. Text exits from the right edge and re-enters from the left edge.

5
TruncateBothEnds

Truncates text from both ends when it exceeds the maximum width, keeping the middle portion. Example: "Very Long Text Item" becomes "Long Text"

1
TruncateEnd

Truncates text at the end when it exceeds the maximum width, keeping the start portion. Example: "Very Long Text Item" becomes "Very Long..."

0