Search Results for

    Show / Hide Table of Contents

    Class CieLuv

    The CieLuv class instance

    Inheritance
    object
    BaseColorModel
    CieLuv
    Namespace: Terminaux.Colors.Models
    Assembly: Terminaux.dll
    Syntax
    public class CieLuv : BaseColorModel

    Properties

    | Edit this page View Source

    Illuminant

    The illuminant

    Declaration
    public IlluminantType Illuminant { get; }
    Property Value
    Type Description
    IlluminantType
    | Edit this page View Source

    L

    The L value [0.0 -> 100.0]

    Declaration
    public double L { get; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Observer

    The observer [either 2 degs or 10 degs]

    Declaration
    public int Observer { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    U

    The U value [-134.0 -> 220.0]

    Declaration
    public double U { get; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    V

    The V value [-140.0 -> 122.0]

    Declaration
    public double V { get; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    Equals(CieLuv)

    Declaration
    public bool Equals(CieLuv other)
    Parameters
    Type Name Description
    CieLuv other
    Returns
    Type Description
    bool
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    IsSpecifierAndValueValid(string)

    Does the string specifier represent a valid CieLuv specifier?

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

    Specifier that represents a valid CieLuv 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 CieLuv specifier?

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

    Specifier that represents a valid CieLuv specifier

    bool checkParts

    Whether to check the parts count or not

    Returns
    Type Description
    bool

    True if the specifier is valid; false otherwise.

    | Edit this page View Source

    ParseSpecifier(string)

    Parses the specifier and returns an instance of CieLuv

    Declaration
    public static CieLuv ParseSpecifier(string specifier)
    Parameters
    Type Name Description
    string specifier

    Specifier of CieLuv

    Returns
    Type Description
    CieLuv

    An instance of CieLuv

    Exceptions
    Type Condition
    TerminauxException
    | Edit this page View Source

    ParseSpecifierToRgb(string, ColorSettings?)

    Parses the specifier and returns an instance of CieLuv converted to 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

    ToString()

    cieluv:<L>;<U>;<V>;<Observer>;<Illuminant>

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    Remarks

    If the observer and the illuminant values were omitted when parsing this model, they are omitted in the resulting string.

    Operators

    | Edit this page View Source

    operator ==(CieLuv, CieLuv)

    Declaration
    public static bool operator ==(CieLuv left, CieLuv right)
    Parameters
    Type Name Description
    CieLuv left
    CieLuv right
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(CieLuv, CieLuv)

    Declaration
    public static bool operator !=(CieLuv left, CieLuv right)
    Parameters
    Type Name Description
    CieLuv left
    CieLuv right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX