Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColor Structure / NColor Constructor


In This Topic
    NColor Constructor
    In This Topic
    Overload List
    OverloadDescription
    Creates an RGB color from a named color  
    Creates an RGB color from a packed uint. The color component bytes are ordered in this order: alpha, red, gree, blue.  
    Creates an opaque RGB color with the specified red, green, and blue values in the range [0 - 255]. The alpha is set to 255.  
    Creates an RGB color with the specified red, green, blue and alpha values in the range [0 - 255].  
    Creates an RGB color based on the specified color and changes the transparency to the specified one.  
    Creates a color in the specified color space and with the specified value. The value must be from the rank of the color space. For example: RGB color space would expect NColorValue3F (c1 = red, c2 = green, c3 = blue) CMYK color space would expect NColorValue4F (c1 = cyan, c2 = magenta, c3 = yellow, c4 = black)  
     
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also