ColorSpace.Rgb.FromXyz(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 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
- 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.