applyGradient

public static String applyGradient(String text, Array<Color> colors)

Applies a gradient to text using multiple colors.

Return

The text with gradient colors applied

Parameters

text

The text to apply the gradient to

colors

Array of colors to interpolate between