Class FontMetrics
- Namespace
- Pango
- Assembly
- Pango-1.0.dll
public sealed class FontMetrics : BoxedRecord, IEquatable<FontMetrics>
- Inheritance
-
FontMetrics
- Implements
- Inherited Members
Constructors
FontMetrics()
public FontMetrics()
FontMetrics(FontMetricsOwnedHandle)
public FontMetrics(FontMetricsOwnedHandle handle)
Parameters
handle
FontMetricsOwnedHandle
Properties
Handle
public FontMetricsOwnedHandle Handle { get; }
Property Value
Methods
Equals(FontMetrics?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(FontMetrics? other)
Parameters
other
FontMetricsAn 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
GetApproximateCharWidth()
public int GetApproximateCharWidth()
Returns
GetApproximateDigitWidth()
public int GetApproximateDigitWidth()
Returns
GetAscent()
public int GetAscent()
Returns
GetDescent()
public int GetDescent()
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.
GetHeight()
[Version("1.44")]
public int GetHeight()
Returns
GetStrikethroughPosition()
[Version("1.6")]
public int GetStrikethroughPosition()
Returns
GetStrikethroughThickness()
[Version("1.6")]
public int GetStrikethroughThickness()
Returns
GetUnderlinePosition()
[Version("1.6")]
public int GetUnderlinePosition()
Returns
GetUnderlineThickness()
[Version("1.6")]
public int GetUnderlineThickness()
Returns
Ref()
public FontMetrics? Ref()
Returns
Unref()
public void Unref()