Table of Contents

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

FontMetricsOwnedHandle

Methods

Equals(FontMetrics?)

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

public bool Equals(FontMetrics? other)

Parameters

other FontMetrics

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.

GetApproximateCharWidth()

public int GetApproximateCharWidth()

Returns

int

GetApproximateDigitWidth()

public int GetApproximateDigitWidth()

Returns

int

GetAscent()

public int GetAscent()

Returns

int

GetDescent()

public int GetDescent()

Returns

int

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.

GetHeight()

[Version("1.44")]
public int GetHeight()

Returns

int

GetStrikethroughPosition()

[Version("1.6")]
public int GetStrikethroughPosition()

Returns

int

GetStrikethroughThickness()

[Version("1.6")]
public int GetStrikethroughThickness()

Returns

int

GetUnderlinePosition()

[Version("1.6")]
public int GetUnderlinePosition()

Returns

int

GetUnderlineThickness()

[Version("1.6")]
public int GetUnderlineThickness()

Returns

int

Ref()

public FontMetrics? Ref()

Returns

FontMetrics

Unref()

public void Unref()