Language

ColorSpace.Rgb.ToXyz(Single[]) Method

Definition

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

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

Parameters

v
Single[]

Returns

Single[]
Attributes

Remarks

Converts a color value from this color space's model to tristimulus CIE XYZ values. If the color model of this color space is not RGB, it is assumed that the target CIE XYZ space uses a D50 standard illuminant.

The specified array's length must be at least equal to to the number of color components as returned by Model.getComponentCount().

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

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