NevronOpenVision
Nevron.Nov.Graphics Namespace / NColor Structure


In This Topic
    NColor Structure Methods
    In This Topic

    For a list of all members of this type, see NColor members.

    Public Methods
     NameDescription
    Public MethodOverloaded. Gets a 40% darker version of this color.  
    Public MethodDeserializes the object state from the specified property bag.  
    Public MethodOverloaded.   
    Public MethodFormats this color value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new RGB color with the specified alpha.  
    Public Methodstatic (Shared in Visual Basic)Creates a color from a packed BGRA value.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new CMYK color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new color that has the color components of another color and has the specified alpha.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSB color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSB color.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSL color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new HSL color.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new RGB color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new RGB color with the specified alpha.  
    Public Methodstatic (Shared in Visual Basic)Creates a new XYZ color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new XYZ color.  
    Public Methodstatic (Shared in Visual Basic)Creates a new YCC color. Alpha is set to 1.0.  
    Public Methodstatic (Shared in Visual Basic)Creates a new YCC color.  
    Public MethodGets the color value in CMYK space.  
    Public Method  
    Public MethodGets the HEX (Web) representation of the RGB color (e.g. #ff00a8).  
    Public MethodGets the color value in HSB space.  
    Public MethodGets the color value in HSL space.  
    Public Methodstatic (Shared in Visual Basic)Gets a list that maps the known colors names to color values.  
    Public Methodstatic (Shared in Visual Basic)Gets the name or the HEX equivalent of a given color.  
    Public MethodGets the color value in RGB space.  
    Public MethodGets the color value in XYZ space.  
    Public MethodGets the color value in YCC space.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new color by interpolating between the specified colors.  
    Public MethodReturns the inverse of this color.  
    Public MethodOverloaded. Gets a 40% ligher version of this color.  
    Public Methodstatic (Shared in Visual Basic)Creates a color from the given string. Throws an exception if the parsing fails.  
    Public Methodstatic (Shared in Visual Basic)Create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). Throws an exception if the parsing fails.  
    Public MethodChecks whether the packed RGB representation of the color is equal to the specified color.  
    Public MethodSerializes the object state into the specified property bag.  
    Public MethodReturns a grayscale color in the same color space as this one.  
    Public MethodReturns the HTML color string representation of this color, for example #FF00A8 or in case the color has transperancy - rgba(255, 0, 0, 0.5).  
    Public MethodReturns a string formatted with the RGB color equivalent for display purposes (e.g. values in range 0:255).  
    Public Methodstatic (Shared in Visual Basic)Tries to create a color from the given string.  
    Public Methodstatic (Shared in Visual Basic)Tries to create a color from a string in HEX format (e.g. "RRGGBB" or "#RRGGBB"). where R, G and B are hex digits.  
    Public Methodstatic (Shared in Visual Basic)Tries to parse the given string and create a color following the W3C specification.  
    Public Methodstatic (Shared in Visual Basic)Creates an RGB color from a HEX color (Web color) string.  
    Top
    Protected Methods
     NameDescription
    Internal Method  
    Internal Method  
    Internal MethodOverloaded.   
    Top
    See Also