Language

ColorObject Constructors

Definition

Overloads

Name Description
ColorObject()

Creates a new color instance set to opaque black in the ColorSpace.Named#SRGB sRGB color space.

ColorObject(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

ColorObject()

Creates a new color instance set to opaque black in the ColorSpace.Named#SRGB sRGB color space.

[Android.Runtime.Register(".ctor", "()V", "")]
public ColorObject();
Attributes

Remarks

Creates a new color instance set to opaque black in the ColorSpace.Named#SRGB sRGB color space.

Java documentation for android.graphics.Color.Color().

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

ColorObject(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected ColorObject(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.ColorObject : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.ColorObject

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

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