IComponentModel<T>
Interface in Zigurous.ColorPro
Declaration
public interface IComponentModel<T> : IComponentModel where T : struct
Description
A type that represents the components of a color.
Type Parameters
T | The type of component model. |
Methods
Copy | Returns a copy of the components. |
Mix | Returns the result of mixing the color with another color using a weight between [0..1]. A weight of 0 results in the first color, and a weight of 1 results in the second color. |
Inherited
Methods
Set | Converts a color to the components and sets them as the new values. |
Mix | Returns the result of mixing the color with another color using a weight between [0..1]. A weight of 0 results in the first color, and a weight of 1 results in the second color. |
ToColor | Converts the components to a color. |