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

TThe type of component model.

Methods

CopyReturns a copy of the components.
MixReturns 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

SetConverts a color to the components and sets them as the new values.
MixReturns 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.
ToColorConverts the components to a color.