Table of Contents

Class RGBA

Namespace
Gdk
Assembly
Gdk-4.0.dll
public sealed class RGBA : BoxedRecord, IEquatable<RGBA>
Inheritance
RGBA
Implements
Inherited Members

Constructors

RGBA()

public RGBA()

RGBA(RGBAOwnedHandle)

public RGBA(RGBAOwnedHandle handle)

Parameters

handle RGBAOwnedHandle

Properties

Alpha

public float Alpha { get; set; }

Property Value

float

Blue

public float Blue { get; set; }

Property Value

float

Green

public float Green { get; set; }

Property Value

float

Handle

public RGBAOwnedHandle Handle { get; }

Property Value

RGBAOwnedHandle

Red

public float Red { get; set; }

Property Value

float

Methods

Copy()

public RGBA Copy()

Returns

RGBA

Equal(RGBA)

public bool Equal(RGBA p2)

Parameters

p2 RGBA

Returns

bool

Equals(RGBA?)

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

public bool Equals(RGBA? other)

Parameters

other RGBA

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.

Free()

public void Free()

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.

Hash()

public uint Hash()

Returns

uint

IsClear()

public bool IsClear()

Returns

bool

IsOpaque()

public bool IsOpaque()

Returns

bool

Parse(string)

public bool Parse(string spec)

Parameters

spec string

Returns

bool

ToString()

public string ToString()

Returns

string