Udostępnij za pośrednictwem


ColorSpace.Rgb.GetInverseTransform Method

Definition

Overloads

GetInverseTransform()

Returns the inverse transform of this color space as a new array.

GetInverseTransform(Single[])

Copies the inverse transform of this color space in specified array.

GetInverseTransform()

Returns the inverse transform of this color space as a new array.

[Android.Runtime.Register("getInverseTransform", "()[F", "GetGetInverseTransformHandler", ApiSince=26)]
public virtual float[] GetInverseTransform ();
[<Android.Runtime.Register("getInverseTransform", "()[F", "GetGetInverseTransformHandler", ApiSince=26)>]
abstract member GetInverseTransform : unit -> single[]
override this.GetInverseTransform : unit -> single[]

Returns

Single[]

A new array of 9 floats

Attributes

Remarks

Returns the inverse transform of this color space as a new array. The inverse transform is used to convert from XYZ to RGB (with the same white point as this color space). To connect color spaces, you must first ColorSpace#adapt(ColorSpace, float[]) adapt them to the same white point.

It is recommended to use ColorSpace#connect(ColorSpace, ColorSpace) to convert between color spaces.

Java documentation for android.graphics.ColorSpace.Rgb.getInverseTransform().

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

GetInverseTransform(Single[])

Copies the inverse transform of this color space in specified array.

[Android.Runtime.Register("getInverseTransform", "([F)[F", "GetGetInverseTransform_arrayFHandler", ApiSince=26)]
public virtual float[] GetInverseTransform (float[] inverseTransform);
[<Android.Runtime.Register("getInverseTransform", "([F)[F", "GetGetInverseTransform_arrayFHandler", ApiSince=26)>]
abstract member GetInverseTransform : single[] -> single[]
override this.GetInverseTransform : single[] -> single[]

Parameters

inverseTransform
Single[]

The destination array, cannot be null, its length must be >= 9

Returns

Single[]

The destination array passed as a parameter

Attributes

Remarks

Copies the inverse transform of this color space in specified array. The inverse transform is used to convert from XYZ to RGB (with the same white point as this color space). To connect color spaces, you must first ColorSpace#adapt(ColorSpace, float[]) adapt them to the same white point.

It is recommended to use ColorSpace#connect(ColorSpace, ColorSpace) to convert between color spaces.

Java documentation for android.graphics.ColorSpace.Rgb.getInverseTransform(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