Partager via


ColorSpace.GetFromDataSpace(Int32) Method

Definition

Create a ColorSpace object using a android.hardware.DataSpace DataSpace value.

[Android.Runtime.Register("getFromDataSpace", "(I)Landroid/graphics/ColorSpace;", "", ApiSince=33)]
public static Android.Graphics.ColorSpace? GetFromDataSpace (int dataSpace);
[<Android.Runtime.Register("getFromDataSpace", "(I)Landroid/graphics/ColorSpace;", "", ApiSince=33)>]
static member GetFromDataSpace : int -> Android.Graphics.ColorSpace

Parameters

dataSpace
Int32

The dataspace value

Returns

the ColorSpace object or null if no matching colorspace can be found.

Attributes

Remarks

Create a ColorSpace object using a android.hardware.DataSpace DataSpace value.

This function maps from a dataspace to a Named ColorSpace. If no Named ColorSpace object matching the dataSpace value can be created, null will return.

Java documentation for android.graphics.ColorSpace.getFromDataSpace(int).

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