ILNumerics Ultimate VS

ColorsBuffer  Conversion (BaseArraySingle to ColorsBuffer)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Conversion operator allowing the direct assignment of Array<float> to members/ variables of type ColorsBuffer.

[ILNumerics Visualization Engine]

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

public static implicit operator ColorsBuffer (
	BaseArray<float> A
)

Parameters

A
Type: ILNumericsBaseArraySingle
Source array of element type Single.

Return Value

Type: ColorsBuffer
Colors buffer with elements of A.
Exceptions

ExceptionCondition
ArgumentException if A does not have 3 or 4 rows.
Remarks

A must have 4 (RGBA components) or 3 (RGB components) rows.

Assigning an empty array or null clears all elements of this buffer.

[ILNumerics Visualization Engine]

See Also

Reference