Compartilhar via


ColorSpace Class

Definition

{

[Android.Runtime.Register("android/graphics/ColorSpace", ApiSince=26, DoNotGenerateAcw=true)]
public abstract class ColorSpace : Java.Lang.Object
[<Android.Runtime.Register("android/graphics/ColorSpace", ApiSince=26, DoNotGenerateAcw=true)>]
type ColorSpace = class
    inherit Object
Inheritance
ColorSpace
Derived
Attributes

Remarks

{

Java documentation for 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.

Constructors

ColorSpace(IntPtr, JniHandleOwnership)

Fields

MaxId
MinId

The minimum ID value a color space can have.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
ComponentCount

Returns the number of components that form a color value according to this color space's color model.

DataSpace

Retrieve the android.hardware.DataSpace DataSpace value from a ColorSpace object.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
Id

Returns the ID of this color space.

IlluminantA

Standard CIE 1931 2° illuminant A, encoded in xyY.

IlluminantB

Standard CIE 1931 2° illuminant B, encoded in xyY.

IlluminantC

Standard CIE 1931 2° illuminant C, encoded in xyY.

IlluminantD50

Standard CIE 1931 2° illuminant D50, encoded in xyY.

IlluminantD55

Standard CIE 1931 2° illuminant D55, encoded in xyY.

IlluminantD60

Standard CIE 1931 2° illuminant D60, encoded in xyY.

IlluminantD65

Standard CIE 1931 2° illuminant D65, encoded in xyY.

IlluminantD75

Standard CIE 1931 2° illuminant D75, encoded in xyY.

IlluminantE

Standard CIE 1931 2° illuminant E, encoded in xyY.

IsSrgb

Indicates whether this color space is the sRGB color space or equivalent to the sRGB color space.

IsWideGamut
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Name

Returns the name of this color space.

PeerReference (Inherited from Object)
ThresholdClass
ThresholdType

Methods

Adapt(ColorSpace, Single[], ColorSpace+Adaptation)

Performs the chromatic adaptation of a color space from its native white point to the specified white point.

Adapt(ColorSpace, Single[])

Performs the chromatic adaptation of a color space from its native white point to the specified white point.

CctToXyz(Int32)

Computes the chromaticity coordinates of a specified correlated color temperature (CCT) on the Planckian locus.

ChromaticAdaptation(ColorSpace+Adaptation, Single[], Single[])

Computes the chromatic adaptation transform from the specified source white point to the specified destination white point.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Connect(ColorSpace, ColorSpace, ColorSpace+RenderIntent)

Connects the specified color spaces to sRGB.

Connect(ColorSpace, ColorSpace)

Connects the specified color spaces to sRGB.

Connect(ColorSpace, ColorSpace+RenderIntent)

Connects the specified color spaces to sRGB.

Connect(ColorSpace)

Connects the specified color spaces to sRGB.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
FromXyz(Single, Single, Single)

Converts tristimulus values from the CIE XYZ space to this color space's color model.

FromXyz(Single[])

Converts tristimulus values from the CIE XYZ space to this color space's color model.

Get(ColorSpace+Named)

Returns an instance of ColorSpace whose ID matches the specified ID.

GetFromDataSpace(Int32)

Create a ColorSpace object using a android.hardware.DataSpace DataSpace value.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetMaxValue(Int32)

Returns the maximum valid value for the specified component of this color space's color model.

GetMinValue(Int32)

Returns the minimum valid value for the specified component of this color space's color model.

GetModel()

Return the color model of this color space.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Match(Single[], ColorSpace+Rgb+TransferParameters)

Returns a Named instance of ColorSpace that matches the specified RGB to CIE XYZ transform and transfer functions.

Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

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

Returns a string representation of the object.

(Inherited from Object)
ToXyz(Single, Single, Single)

Converts a color value from this color space's model to tristimulus CIE XYZ values.

ToXyz(Single[])

Converts a color value from this color space's model to tristimulus CIE XYZ values.

UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

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