ILNumerics Ultimate VS

ExtensionMethodsToColor Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Converts this Vector4 instance into a Color.

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static Color ToColor(
	this Vector4 color
)

Parameters

color
Type: ILNumerics.DrawingVector4
The color to be converted, components are elements of a Vector4 objects, each in range 0..1.

Return Value

Type: Color
The color from color converted to a GDI Color.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector4. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

[ILNumerics Visualization Engine]

See Also

Reference