Class BaseTransformationFormula
Color transformation formula
Implements
Namespace: Terminaux.Colors.Transformation
Assembly: Terminaux.dll
Syntax
public abstract class BaseTransformationFormula : ITransformationFormula
Properties
Frequency
Frequency of the transformation formula
Declaration
public virtual double Frequency { get; set; }
Property Value
Type | Description |
---|---|
double |
Methods
Transform(int, int, int)
Transforms the colors using the implementation formula.
Declaration
public virtual (int r, int g, int b) Transform(int r, int g, int b)
Parameters
Type | Name | Description |
---|---|---|
int | r | Red color level |
int | g | Green color level |
int | b | Blue color level |
Returns
Type | Description |
---|---|
(int R, int G, int B) | Transformed RGB values |