IComponentModelEncoded<T>
Interface in Zigurous.ColorPro
Declaration
public interface IComponentModelEncoded<T> : IComponentModelEncoded, IComponentModel<T>, IComponentModel where T : structDescription
A type that represents the components of a color using signal encoding.
Type Parameters
| T | The type of component model. |
Inherited
Methods
| Set | Converts a color to the components using the given encoding and sets them as the new values. |
| ToColor | Converts the components to a color using the given encoding. |
| 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. |