Class RedGreenBlue
  
  
  
    Inheritance
    object
    
    RedGreenBlue
   
  
  Assembly: Terminaux.dll
  Syntax
  
    public class RedGreenBlue : BaseColorModel
   
  Properties
  
    |
    Edit this page
  
  
    View Source
  
  
  A
  The alpha value indicating transparency applied to the OriginalRgb value.
 
  
  Declaration
  
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  B
  The blue color value [0 -> 255]
 
  
  Declaration
  
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  BNormalized
  The blue color value [0.0 -> 0.1]
 
  
  Declaration
  
    public double BNormalized { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  G
  The green color value [0 -> 255]
 
  
  Declaration
  
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  GNormalized
  The green color value [0.0 -> 0.1]
 
  
  Declaration
  
    public double GNormalized { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  OriginalRgb
  The original RGB values (always opaque)
 
  
  Declaration
  
    public RedGreenBlue OriginalRgb { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  R
  The red color value [0 -> 255]
 
  
  Declaration
  
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  RNormalized
  The red color value [0.0 -> 0.1]
 
  
  Declaration
  
    public double RNormalized { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Vector
  Gets the three-dimension vector values from RGB color
 
  
  Declaration
  
    public Vector3 Vector { get; }
   
  Property Value
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  Equals(object)
  
  
  Declaration
  
    public override bool Equals(object obj)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | object | 
        obj | 
         | 
      
    
  
  Returns
  
  Overrides
  object.Equals(object)
  
    |
    Edit this page
  
  
    View Source
  
  
  Equals(RedGreenBlue)
  
  
  Declaration
  
    public bool Equals(RedGreenBlue other)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
  Overrides
  object.GetHashCode()
  
    |
    Edit this page
  
  
    View Source
  
  
  GetOrderCode()
  
  
  Declaration
  
    public int GetOrderCode()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | int | 
        RGB order code in decimal RRRGGGBBB format 
 | 
      
    
  
  
    |
    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 RGB specifier?
 
  
  Declaration
  
    public static bool IsSpecifierValid(string specifier, bool checkParts = false)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | string | 
        specifier | 
        Specifier that represents a valid RGB 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
  
  
  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
  
  Exceptions
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
  Overrides
  object.ToString()
  Operators
  
    |
    Edit this page
  
  
    View Source
  
  
  operator ==(RedGreenBlue, RedGreenBlue)
  
  
  Declaration
  
    public static bool operator ==(RedGreenBlue left, RedGreenBlue right)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  operator !=(RedGreenBlue, RedGreenBlue)
  
  
  Declaration
  
    public static bool operator !=(RedGreenBlue left, RedGreenBlue right)
   
  Parameters
  
  Returns