Language

ColorSpace.Rgb.FromXyz(Single[]) Method

Definition

Converts tristimulus values from the CIE XYZ space to this color space's color model.

[Android.Runtime.Register("fromXyz", "([F)[F", "GetFromXyz_arrayFHandler", ApiSince=26)]
public override float[] FromXyz(float[] v);
[<Android.Runtime.Register("fromXyz", "([F)[F", "GetFromXyz_arrayFHandler", ApiSince=26)>]
override this.FromXyz : single[] -> single[]

Parameters

v
Single[]

Returns

Single[]
Attributes

Remarks

Converts tristimulus values from the CIE XYZ space to this color space's color model. The resulting value is passed back in the specified array.

The specified array's length must be at least equal to to the number of color components as returned by Model.getComponentCount(), and its first 3 values must be the XYZ components to convert from.

Android reference for android.graphics.ColorSpace.Rgb.fromXyz.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to