Class ColorState
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public sealed class ColorState : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<ColorState>, IDisposable
- Inheritance
-
ColorState
- Implements
- Inherited Members
Constructors
ColorState(ColorStateOwnedHandle)
public ColorState(ColorStateOwnedHandle handle)
Parameters
handleColorStateOwnedHandle
Properties
Handle
public ColorStateOwnedHandle Handle { get; }
Property Value
Methods
CreateCicpParams()
[Version("4.16")]
public CicpParams? CreateCicpParams()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equal(ColorState)
[Version("4.16")]
public bool Equal(ColorState other)
Parameters
otherColorState
Returns
Equals(ColorState?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ColorState? other)
Parameters
otherColorStateAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetRec2100Linear()
[Version("4.16")]
public static ColorState GetRec2100Linear()
Returns
GetRec2100Pq()
[Version("4.16")]
public static ColorState GetRec2100Pq()
Returns
GetSrgb()
[Version("4.16")]
public static ColorState GetSrgb()
Returns
GetSrgbLinear()
[Version("4.16")]
public static ColorState GetSrgbLinear()
Returns
Ref()
[Version("4.16")]
public ColorState Ref()
Returns
Unref()
[Version("4.16")]
public void Unref()