GradientExtensions¶
Namespace:
SideXP.Core
Extension functions for Gradient instances.
Methods¶
Clone(Gradient)¶
Clones this gradient.
Parameters
gradient: The gradient to clone.
Returns
Returns the gradient's clone.
Reverse(Gradient)¶
Reverses the Gradient color and alpha keys.
Parameters
gradient: The original gradient you want to reverse.
Returns
Returns a new Gradient instance with the reversed keys of the input Gradient.