Share via


ColorSpace.ChromaticAdaptation Method

Definition

Computes the chromatic adaptation transform from the specified source white point to the specified destination white point.

[Android.Runtime.Register("chromaticAdaptation", "(Landroid/graphics/ColorSpace$Adaptation;[F[F)[F", "", ApiSince=31)]
public static float[] ChromaticAdaptation (Android.Graphics.ColorSpace.Adaptation adaptation, float[] srcWhitePoint, float[] dstWhitePoint);
[<Android.Runtime.Register("chromaticAdaptation", "(Landroid/graphics/ColorSpace$Adaptation;[F[F)[F", "", ApiSince=31)>]
static member ChromaticAdaptation : Android.Graphics.ColorSpace.Adaptation * single[] * single[] -> single[]

Parameters

adaptation
ColorSpace.Adaptation

The adaptation method

srcWhitePoint
Single[]

The white point to adapt from

dstWhitePoint
Single[]

The white point to adapt to

Returns

Single[]

A 3x3 matrix as a non-null array of 9 floats

Attributes

Remarks

Java documentation for android.graphics.ColorSpace.chromaticAdaptation(android.graphics.Adaptation, float[], float[]).

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