NevronOpenVision
Nevron.Nov.Graphics Namespace / NColor Structure / NColor Constructor / NColor Constructor(NColorSpace,NColorValueF)
The color space.
The color value.
In This Topic
    NColor Constructor(NColorSpace,NColorValueF)
    In This Topic
    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)
    Syntax
    public NColor( 
       NColorSpace space,
       NColorValueF value
    )

    Parameters

    space
    The color space.
    value
    The color value.
    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