Skip to main content

Struct FontMetricsInfo

Namespace: VelloSharp
Assembly: VelloSharp.dll

public readonly record struct FontMetricsInfo : IEquatable<FontMetricsInfo>

Implements

IEquatable<FontMetricsInfo>

Inherited Members

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

Constructors

FontMetricsInfo(ushort, ushort, float, float, float, float, float, float, float, bool)

public FontMetricsInfo(ushort UnitsPerEm, ushort GlyphCount, float Ascent, float Descent, float Leading, float UnderlinePosition, float UnderlineThickness, float StrikeoutPosition, float StrikeoutThickness, bool IsMonospace)

Parameters

UnitsPerEm ushort

GlyphCount ushort

Ascent float

Descent float

Leading float

UnderlinePosition float

UnderlineThickness float

StrikeoutPosition float

StrikeoutThickness float

IsMonospace bool

Properties

Ascent

public float Ascent { get; init; }

Property Value

float

Descent

public float Descent { get; init; }

Property Value

float

GlyphCount

public ushort GlyphCount { get; init; }

Property Value

ushort

IsMonospace

public bool IsMonospace { get; init; }

Property Value

bool

Leading

public float Leading { get; init; }

Property Value

float

StrikeoutPosition

public float StrikeoutPosition { get; init; }

Property Value

float

StrikeoutThickness

public float StrikeoutThickness { get; init; }

Property Value

float

UnderlinePosition

public float UnderlinePosition { get; init; }

Property Value

float

UnderlineThickness

public float UnderlineThickness { get; init; }

Property Value

float

UnitsPerEm

public ushort UnitsPerEm { get; init; }

Property Value

ushort