Search Results for

    Show / Hide Table of Contents

    Class BaseTransformationFormula

    Color transformation formula

    Inheritance
    object
    BaseTransformationFormula
    ColorBlind
    Inverse
    Monochromacy
    Implements
    ITransformationFormula
    Namespace: Terminaux.Colors.Transformation
    Assembly: Terminaux.dll
    Syntax
    public abstract class BaseTransformationFormula : ITransformationFormula

    Properties

    | Edit this page View Source

    Frequency

    Frequency of the transformation formula

    Declaration
    public virtual double Frequency { get; set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    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

    Implements

    ITransformationFormula
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX