Table of Contents

Class Color

Namespace
Pango
Assembly
Pango-1.0.dll
public sealed class Color : BoxedRecord, IEquatable<Color>
Inheritance
Color
Implements
Inherited Members

Constructors

Color()

public Color()

Color(ColorOwnedHandle)

public Color(ColorOwnedHandle handle)

Parameters

handle ColorOwnedHandle

Properties

Blue

public ushort Blue { get; set; }

Property Value

ushort

Green

public ushort Green { get; set; }

Property Value

ushort

Handle

public ColorOwnedHandle Handle { get; }

Property Value

ColorOwnedHandle

Red

public ushort Red { get; set; }

Property Value

ushort

Methods

Copy()

public Color? Copy()

Returns

Color

Equals(Color?)

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

public bool Equals(Color? other)

Parameters

other Color

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.

Parse(string)

public bool Parse(string spec)

Parameters

spec string

Returns

bool

ParseWithAlpha(out ushort, string)

[Version("1.46")]
public bool ParseWithAlpha(out ushort alpha, string spec)

Parameters

alpha ushort
spec string

Returns

bool

ToString()

[Version("1.16")]
public string ToString()

Returns

string