NevronOpenVision
Nevron.Nov.Graphics Namespace / NColorValue4F Class / GetCValue Method
Zero based index of the requested color component. Must be 0, 1, 2 or 3 otherwise the function throws an exception.
GetCValue Method (NColorValue4F)
Gets the value of the color component at the specified index.
Syntax
public override System.float GetCValue( 
   System.int c
)

Parameters

c
Zero based index of the requested color component. Must be 0, 1, 2 or 3 otherwise the function throws an exception.

Return Value

Returns the requested color component as a floating point value in the range [0, 1].
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