API Reference › Shared
HtmlGradient
ClassNamespace: SwiftlyS2.Shared · Assembly: SwiftlyS2.CS2.dll
public static class HtmlGradientInherits object
Provides utility methods for generating HTML text with gradient color effects.
View sourceMethods
Generates gradient colored text by interpolating between two colors.
public static string GenerateGradientText(string text, string startColor, string endColor)Parameters
Generates gradient colored text by interpolating across multiple color stops.
public static string GenerateGradientText(string text, params string[] colors)Parameters
Generates gradient colored text by interpolating between two SwiftlyS2 native colors.
public static string GenerateGradientText(string text, Color startColor, Color endColor)Parameters
Generates gradient colored text by interpolating between two System.Drawing colors.
public static string GenerateGradientText(string text, Color startColor, Color endColor)Parameters
Generates gradient colored text by interpolating across multiple SwiftlyS2 native color stops.
public static string GenerateGradientText(string text, params Color[] colors)Parameters
Generates gradient colored text by interpolating across multiple System.Drawing color stops.
public static string GenerateGradientText(string text, params Color[] colors)Parameters