ColorObject Class

Definition

[Android.Runtime.Register("android/graphics/Color", ApiSince=1, DoNotGenerateAcw=true)]
public class ColorObject : Java.Lang.Object
type ColorObject = class
    inherit Object
Inheritance
ColorObject
Attributes

Remarks

Android platform documentation

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.

Constructors

ColorObject()
ColorObject(IntPtr, JniHandleOwnership)

Fields

Black
Cyan
Dkgray
Gray
Ltgray
Magenta
Transparent
White
Yellow

Properties

Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
ColorSpace
ComponentCount
Handle

The handle to the underlying Android instance.

(Inherited from Object)
IsSrgb
IsWideGamut
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Model
PeerReference (Inherited from Object)
ThresholdClass
ThresholdType

Methods

Alpha()
Alpha(Color)
Alpha(Int64)
Argb(Int32, Int32, Int32, Int32)
Argb(Single, Single, Single, Single)
Blue()
Blue(Color)
Blue(Int64)
Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
ColorToHSV(Color, Single[])
Convert(Color, ColorSpace)
Convert(ColorSpace)
Convert(Int64, ColorSpace)
Convert(Int64, ColorSpace+Connector)
Convert(Single, Single, Single, Single, ColorSpace, ColorSpace)
Convert(Single, Single, Single, Single, ColorSpace+Connector)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetComponent(Int32)
GetComponents()
GetComponents(Single[])
GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
Green()
Green(Color)
Green(Int64)
HSVToColor(Int32, Single[])
HSVToColor(Single[])
InvokeColorSpace(Int64)
InvokeIsSrgb(Int64)
InvokeIsWideGamut(Int64)
IsInColorSpace(Int64, ColorSpace)
JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Luminance()
Luminance(Color)
Luminance(Int64)
Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
Pack()
Pack(Color)
Pack(Single, Single, Single)
Pack(Single, Single, Single, Single)
Pack(Single, Single, Single, Single, ColorSpace)
ParseColor(String)
Red()
Red(Color)
Red(Int64)
Rgb(Int32, Int32, Int32)
Rgb(Single, Single, Single)
RGBToHSV(Int32, Int32, Int32, Single[])
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArgb()
ToArgb(Int64)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
ValueOf(Color)
ValueOf(Int64)
ValueOf(Single, Single, Single)
ValueOf(Single, Single, Single, Single)
ValueOf(Single, Single, Single, Single, ColorSpace)
ValueOf(Single[], ColorSpace)
Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to