ColorSpace.Rgb.ToXyz(Single[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.