Table of Contents

Class Attribute

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

Constructors

Attribute()

public Attribute()

Attribute(AttributeOwnedHandle)

public Attribute(AttributeOwnedHandle handle)

Parameters

handle AttributeOwnedHandle

Properties

EndIndex

public uint EndIndex { get; set; }

Property Value

uint

Handle

public AttributeOwnedHandle Handle { get; }

Property Value

AttributeOwnedHandle

StartIndex

public uint StartIndex { get; set; }

Property Value

uint

Methods

AsColor()

[Version("1.50")]
public AttrColor? AsColor()

Returns

AttrColor

AsFloat()

[Version("1.50")]
public AttrFloat? AsFloat()

Returns

AttrFloat

AsFontDesc()

[Version("1.50")]
public AttrFontDesc? AsFontDesc()

Returns

AttrFontDesc

AsFontFeatures()

[Version("1.50")]
public AttrFontFeatures? AsFontFeatures()

Returns

AttrFontFeatures

AsInt()

[Version("1.50")]
public AttrInt? AsInt()

Returns

AttrInt

AsLanguage()

[Version("1.50")]
public AttrLanguage? AsLanguage()

Returns

AttrLanguage

AsShape()

[Version("1.50")]
public AttrShape? AsShape()

Returns

AttrShape

AsSize()

[Version("1.50")]
public AttrSize? AsSize()

Returns

AttrSize

AsString()

[Version("1.50")]
public AttrString? AsString()

Returns

AttrString

Copy()

public Attribute Copy()

Returns

Attribute

Destroy()

public void Destroy()

Equal(Attribute)

public bool Equal(Attribute attr2)

Parameters

attr2 Attribute

Returns

bool

Equals(Attribute?)

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

public bool Equals(Attribute? other)

Parameters

other Attribute

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.

Init(AttrClass)

[Version("1.20")]
public void Init(AttrClass klass)

Parameters

klass AttrClass