Class GradientExtensions
Extensions for the Gradient class.
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public static class GradientExtensions
Methods
TryParse(string, out Gradient)
Try to parse a string to a Gradient.
Declaration
public static bool TryParse(string value, out Gradient v)
Parameters
Type | Name | Description |
---|---|---|
string | value | The string to parse. |
Gradient | v | The parsed Gradient. |
Returns
Type | Description |
---|---|
bool | True if the string was successfully parsed, false otherwise. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the string is null. |