Method ToColor
Declaration
public static TColor ToColor<TColor>(this Color color) where TColor : struct, IColor
Parameters
Type |
Name |
Description |
Color |
color |
|
Returns
Type Parameters
Declaration
public static TColor? ToColor<TColor>(this Color? color) where TColor : struct, IColor
Parameters
Type |
Name |
Description |
Color? |
color |
|
Returns
Type Parameters
ToColor<TColor>(Color)
Declaration
public static TColor ToColor<TColor>(this Color color) where TColor : struct, IColor
Parameters
Type |
Name |
Description |
Color |
color |
|
Returns
Type Parameters
ToColor<TColor>(Color?)
Declaration
public static TColor? ToColor<TColor>(this Color? color) where TColor : struct, IColor
Parameters
Type |
Name |
Description |
Color? |
color |
|
Returns
Type Parameters
ToColor<TColor, TOtherColor>(TColor)
Declaration
public static TOtherColor ToColor<TColor, TOtherColor>(this TColor color) where TColor : struct, IColor where TOtherColor : struct, IColor
Parameters
Type |
Name |
Description |
TColor |
color |
|
Returns
Type |
Description |
TOtherColor |
|
Type Parameters
Name |
Description |
TColor |
|
TOtherColor |
|