Partager via


ColorObject.IsInColorSpace(Int64, ColorSpace) Method

Definition

Indicates whether the specified color is in the specified color space.

[Android.Runtime.Register("isInColorSpace", "(JLandroid/graphics/ColorSpace;)Z", "", ApiSince=26)]
public static bool IsInColorSpace (long color, Android.Graphics.ColorSpace colorSpace);
[<Android.Runtime.Register("isInColorSpace", "(JLandroid/graphics/ColorSpace;)Z", "", ApiSince=26)>]
static member IsInColorSpace : int64 * Android.Graphics.ColorSpace -> bool

Parameters

color
Int64

The color to test

colorSpace
ColorSpace

The color space to test against

Returns

True if the color is in the specified color space, false otherwise

Attributes

Remarks

Indicates whether the specified color is in the specified color space.

Java documentation for android.graphics.Color.isInColorSpace(long, 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