Condividi tramite


ColorSpace.Rgb.GetWhitePoint Method

Definition

Overloads

GetWhitePoint()

Returns the non-adapted CIE xyY white point of this color space as a new array of 2 floats.

GetWhitePoint(Single[])

Copies the non-adapted CIE xyY white point of this color space in specified array.

GetWhitePoint()

Returns the non-adapted CIE xyY white point of this color space as a new array of 2 floats.

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

Returns

Single[]

A new non-null array of 2 floats

Attributes

Remarks

Returns the non-adapted CIE xyY white point of this color space as a new array of 2 floats. The Y component is assumed to be 1 and is therefore not copied into the destination. The x and y components are written in the array at positions 0 and 1 respectively.

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

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

GetWhitePoint(Single[])

Copies the non-adapted CIE xyY white point of this color space in specified array.

[Android.Runtime.Register("getWhitePoint", "([F)[F", "GetGetWhitePoint_arrayFHandler", ApiSince=26)]
public virtual float[] GetWhitePoint (float[] whitePoint);
[<Android.Runtime.Register("getWhitePoint", "([F)[F", "GetGetWhitePoint_arrayFHandler", ApiSince=26)>]
abstract member GetWhitePoint : single[] -> single[]
override this.GetWhitePoint : single[] -> single[]

Parameters

whitePoint
Single[]

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

Returns

Single[]

The destination array passed as a parameter

Attributes

Remarks

Copies the non-adapted CIE xyY white point of this color space in specified array. The Y component is assumed to be 1 and is therefore not copied into the destination. The x and y components are written in the array at positions 0 and 1 respectively.

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