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
Handle
public AttributeOwnedHandle Handle { get; }
Property Value
StartIndex
public uint StartIndex { get; set; }
Property Value
Methods
AsColor()
[Version("1.50")]
public AttrColor? AsColor()
Returns
AsFloat()
[Version("1.50")]
public AttrFloat? AsFloat()
Returns
AsFontDesc()
[Version("1.50")]
public AttrFontDesc? AsFontDesc()
Returns
AsFontFeatures()
[Version("1.50")]
public AttrFontFeatures? AsFontFeatures()
Returns
AsInt()
[Version("1.50")]
public AttrInt? AsInt()
Returns
AsLanguage()
[Version("1.50")]
public AttrLanguage? AsLanguage()
Returns
AsShape()
[Version("1.50")]
public AttrShape? AsShape()
Returns
AsSize()
[Version("1.50")]
public AttrSize? AsSize()
Returns
AsString()
[Version("1.50")]
public AttrString? AsString()
Returns
Copy()
public Attribute Copy()
Returns
Destroy()
public void Destroy()
Equal(Attribute)
public bool Equal(Attribute attr2)
Parameters
attr2
Attribute
Returns
Equals(Attribute?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Attribute? other)
Parameters
other
AttributeAn 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
obj
objectThe 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.
Init(AttrClass)
[Version("1.20")]
public void Init(AttrClass klass)
Parameters
klass
AttrClass