Class BaseTransformationFormula
Color transformation formula
Implements
Namespace: Terminaux.Colors.Transformation
Assembly: Terminaux.dll
Syntax
public abstract class BaseTransformationFormula : ITransformationFormula
Properties
| Edit this page View SourceFrequency
Frequency of the transformation formula
Declaration
public virtual double Frequency { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
| Edit this page View SourceTransform(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 |