Search Results for

    Show / Hide Table of Contents

    Class BaseColorModel

    Base color model

    Inheritance
    object
    BaseColorModel
    CieLab
    CieLch
    CieLuv
    CyanMagentaYellow
    CyanMagentaYellowKey
    HueSaturationLightness
    HueSaturationValue
    HueWhiteBlack
    HunterLab
    LumaChromaUv
    LumaInPhaseQuadrature
    RedGreenBlue
    RedYellowBlue
    Xyz
    Yxy
    Namespace: Terminaux.Colors.Models
    Assembly: Terminaux.dll
    Syntax
    public abstract class BaseColorModel

    Methods

    | Edit this page View Source

    IsSpecifierAndValueValid(string)

    Does the string specifier represent a valid RGB specifier?

    Declaration
    public static bool IsSpecifierAndValueValid(string specifier)
    Parameters
    Type Name Description
    string specifier

    Specifier that represents a valid RGB specifier

    Returns
    Type Description
    bool

    True if the specifier is valid; false otherwise.

    | Edit this page View Source

    IsSpecifierValid(string, bool)

    Does the string specifier represent a valid model-agnostic specifier?

    Declaration
    public static bool IsSpecifierValid(string specifier, bool checkParts = false)
    Parameters
    Type Name Description
    string specifier

    Specifier that represents a valid model-agnostic specifier

    bool checkParts

    Whether to check parts or not

    Returns
    Type Description
    bool

    True if the specifier is valid; false otherwise.

    | Edit this page View Source

    ParseSpecifierToRgb(string, ColorSettings?)

    Parses the specifier and returns an instance of RedGreenBlue

    Declaration
    public static RedGreenBlue ParseSpecifierToRgb(string specifier, ColorSettings? settings = null)
    Parameters
    Type Name Description
    string specifier

    Specifier of RGB

    ColorSettings settings

    Settings to use. Use null for global settings

    Returns
    Type Description
    RedGreenBlue

    An instance of RedGreenBlue

    Exceptions
    Type Condition
    TerminauxException
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX