Udostępnij za pośrednictwem


ColorSpace.Rgb Class

Definition

{

[Android.Runtime.Register("android/graphics/ColorSpace$Rgb", ApiSince=26, DoNotGenerateAcw=true)]
public class ColorSpace.Rgb : Android.Graphics.ColorSpace
[<Android.Runtime.Register("android/graphics/ColorSpace$Rgb", ApiSince=26, DoNotGenerateAcw=true)>]
type ColorSpace.Rgb = class
    inherit ColorSpace
Inheritance
ColorSpace.Rgb
Attributes

Remarks

{

Java documentation for android.graphics.ColorSpace.Rgb.

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.Rgb(IntPtr, JniHandleOwnership)
ColorSpace.Rgb(String, Single[], ColorSpace+Rgb+TransferParameters)
ColorSpace.Rgb(String, Single[], Double)

Creates a new RGB color space using a 3x3 column-major transform matrix.

ColorSpace.Rgb(String, Single[], IDoubleUnaryOperator, IDoubleUnaryOperator)

Creates a new RGB color space using a 3x3 column-major transform matrix.

ColorSpace.Rgb(String, Single[], Single[], ColorSpace+Rgb+TransferParameters)
ColorSpace.Rgb(String, Single[], Single[], Double)

Creates a new RGB color space using a specified set of primaries and a specified white point.

ColorSpace.Rgb(String, Single[], Single[], IDoubleUnaryOperator, IDoubleUnaryOperator, Single, Single)

Creates a new RGB color space using a specified set of primaries and a specified white point.

Fields

MaxId (Inherited from ColorSpace)
MinId

The minimum ID value a color space can have.

(Inherited from ColorSpace)

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.

(Inherited from ColorSpace)
DataSpace

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

(Inherited from ColorSpace)
Eotf

Returns the electro-optical transfer function (EOTF) of this color space.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
Id

Returns the ID of this color space.

(Inherited from ColorSpace)
IsSrgb

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

(Inherited from ColorSpace)
IsWideGamut
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Name

Returns the name of this color space.

(Inherited from ColorSpace)
Oetf

Returns the opto-electronic transfer function (OETF) of this color space.

PeerReference (Inherited from Object)
ThresholdClass
ThresholdType

Methods

Clone()

Creates and returns a copy of this object.

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

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

(Inherited from Object)
FromLinear(Single, Single, Single)

Encodes an RGB value from linear space to this color space's "gamma space".

FromLinear(Single[])

Encodes an RGB value from linear space to this color space's "gamma space".

FromXyz(Single, Single, Single)

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

(Inherited from ColorSpace)
FromXyz(Single[])
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInverseTransform()

Returns the inverse transform of this color space as a new array.

GetInverseTransform(Single[])

Copies the inverse transform of this color space in specified array.

GetMaxValue(Int32)
GetMinValue(Int32)
GetModel()

Return the color model of this color space.

(Inherited from ColorSpace)
GetPrimaries()

Returns the primaries of this color space as a new array of 6 floats.

GetPrimaries(Single[])

Copies the primaries of this color space in specified array.

GetTransferParameters()
GetTransform()

Returns the transform of this color space as a new array.

GetTransform(Single[])

Copies the transform of this color space in specified array.

GetWhitePoint()

Returns the non-adapted CIE xyY white point of this color space as a new array of 2 floats.

GetWhitePoint(Single[])

Copies the non-adapted CIE xyY white point of this color space in specified array.

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)
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)
ToLinear(Single, Single, Single)

Decodes an RGB value to linear space.

ToLinear(Single[])

Decodes an RGB value to linear space.

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.

(Inherited from ColorSpace)
ToXyz(Single[])
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