SKFontMetrics Struct

Definition

Structure to represent measurements for a font.

public struct SKFontMetrics
public struct SKFontMetrics : IEquatable<SkiaSharp.SKFontMetrics>
Inheritance
SKFontMetrics
Implements

Properties

Ascent

Gets the recommended distance above the baseline.

AverageCharacterWidth

Gets the average character width.

Bottom

Gets the greatest distance below the baseline for any glyph.

CapHeight

Gets the cap height.

Descent

Gets the recommended distance below the baseline.

Leading

Gets the recommended distance to add between lines of text.

MaxCharacterWidth

Gets the max character width.

StrikeoutPosition

Gets the position of the bottom of the strikeout stroke relative to the baseline.

StrikeoutThickness

Gets the thickness of the strikeout.

Top

Gets the greatest distance above the baseline for any glyph.

UnderlinePosition

Gets the position of the top of the underline stroke relative to the baseline.

UnderlineThickness

Gets the thickness of the underline.

XHeight

Gets the height of an 'x' in px.

XMax

Gets the maximum bounding box x value for all glyphs.

XMin

Gets the minimum bounding box x value for all glyphs.

Methods

Equals(Object)
Equals(SKFontMetrics)
GetHashCode()

Operators

Equality(SKFontMetrics, SKFontMetrics)
Inequality(SKFontMetrics, SKFontMetrics)

Applies to