ColorSpace.GetFromDataSpace(Int32) 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.
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.