ConversionExtensions.To<T>
Extension Method in ConversionExtensions
Declaration
public static T To<T>(this Color color)
where T : struct, IComponentModel
Description
Converts the color to a specified component model.
Type Parameters
T | The type of component model to convert to. |
Parameters
color | The color to convert. |
Returns
T | The converted component model. |
Overload
Declaration
public static T To<T>(this IComponentModel model)
where T : struct, IComponentModel
Description
Converts the component model to another specified component model.
Type Parameters
T | The type of component model to convert to. |
Parameters
model | The component model to convert. |
Returns
T | The converted component model. |