Table of Contents

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

handle ColorStateOwnedHandle

Properties

Handle

public ColorStateOwnedHandle Handle { get; }

Property Value

ColorStateOwnedHandle

Methods

CreateCicpParams()

[Version("4.16")]
public CicpParams? CreateCicpParams()

Returns

CicpParams

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

other ColorState

Returns

bool

Equals(ColorState?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ColorState? other)

Parameters

other ColorState

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

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

ColorState

GetRec2100Pq()

[Version("4.16")]
public static ColorState GetRec2100Pq()

Returns

ColorState

GetSrgb()

[Version("4.16")]
public static ColorState GetSrgb()

Returns

ColorState

GetSrgbLinear()

[Version("4.16")]
public static ColorState GetSrgbLinear()

Returns

ColorState

Ref()

[Version("4.16")]
public ColorState Ref()

Returns

ColorState

Unref()

[Version("4.16")]
public void Unref()