Table of Contents

Struct TextLineMetrics

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

Aggregate measurement metrics for one measured text run.

public readonly struct TextLineMetrics : IEquatable<TextLineMetrics>
Implements
Inherited Members

Constructors

TextLineMetrics(Twips, Twips, Twips, Twips, int)

Initializes line metrics.

Properties

Ascent

Gets the ascent above the baseline in twips.

ClusterCount

Gets the number of measured clusters.

Descent

Gets the descent below the baseline in twips.

LineGap

Gets the line gap in twips.

LineHeight

Gets the total single-line height in twips (Ascent + Descent + LineGap).

TotalAdvance

Gets the total horizontal advance in twips.

Methods

Equals(TextLineMetrics)
Equals(object?)
GetHashCode()

Operators

operator ==(TextLineMetrics, TextLineMetrics)

Determines equality.

operator !=(TextLineMetrics, TextLineMetrics)

Determines inequality.