Skip to main content

Struct SKFontMetrics

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public readonly struct SKFontMetrics

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

SKFontMetrics(float, float, float, float, float, float, float, float, float, float, float, float?, float?, float?, float?)

public SKFontMetrics(float top, float ascent, float descent, float bottom, float leading, float averageCharacterWidth, float maxCharacterWidth, float xMin, float xMax, float xHeight, float capHeight, float? underlinePosition, float? underlineThickness, float? strikeoutPosition, float? strikeoutThickness)

Parameters

top float

ascent float

descent float

bottom float

leading float

averageCharacterWidth float

maxCharacterWidth float

xMin float

xMax float

xHeight float

capHeight float

underlinePosition float?

underlineThickness float?

strikeoutPosition float?

strikeoutThickness float?

Properties

Ascent

public float Ascent { get; }

Property Value

float

AverageCharacterWidth

public float AverageCharacterWidth { get; }

Property Value

float

Bottom

public float Bottom { get; }

Property Value

float

CapHeight

public float CapHeight { get; }

Property Value

float

Descent

public float Descent { get; }

Property Value

float

Empty

public static SKFontMetrics Empty { get; }

Property Value

SKFontMetrics

Leading

public float Leading { get; }

Property Value

float

MaxCharacterWidth

public float MaxCharacterWidth { get; }

Property Value

float

StrikeoutPosition

public float? StrikeoutPosition { get; }

Property Value

float?

StrikeoutThickness

public float? StrikeoutThickness { get; }

Property Value

float?

Top

public float Top { get; }

Property Value

float

UnderlinePosition

public float? UnderlinePosition { get; }

Property Value

float?

UnderlineThickness

public float? UnderlineThickness { get; }

Property Value

float?

XHeight

public float XHeight { get; }

Property Value

float

XMax

public float XMax { get; }

Property Value

float

XMin

public float XMin { get; }

Property Value

float