Language

ParcelableColorSpace.IsParcelable(ColorSpace) Method

Definition

Checks if the given ColorSpace is able to be parceled.

[Android.Runtime.Register("isParcelable", "(Landroid/graphics/ColorSpace;)Z", "", ApiSince=31)]
public static bool IsParcelable(Android.Graphics.ColorSpace colorSpace);
[<Android.Runtime.Register("isParcelable", "(Landroid/graphics/ColorSpace;)Z", "", ApiSince=31)>]
static member IsParcelable : Android.Graphics.ColorSpace -> bool

Parameters

colorSpace
ColorSpace

The color space to check for parcel support.

Returns

true for a color space with a registered identifier, or an unregistered RGB space with parametric transfer parameters; otherwise false.

Attributes

Remarks

Checks if the given ColorSpace is able to be parceled. A ColorSpace can only be parceled if it is a ColorSpace.Named Named ColorSpace or a ColorSpace.Rgb instance that has an ICC parametric transfer function as returned by ColorSpace.Rgb#getTransferParameters()

Java documentation for android.graphics.ParcelableColorSpace.isParcelable(android.graphics.ColorSpace).

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