Struct FontMetricsInfo
Namespace: VelloSharp
Assembly: VelloSharp.dll
public readonly record struct FontMetricsInfo : IEquatable<FontMetricsInfo>
Implements
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
Descent
public float Descent { get; init; }
Property Value
GlyphCount
public ushort GlyphCount { get; init; }
Property Value
IsMonospace
public bool IsMonospace { get; init; }
Property Value
Leading
public float Leading { get; init; }
Property Value
StrikeoutPosition
public float StrikeoutPosition { get; init; }
Property Value
StrikeoutThickness
public float StrikeoutThickness { get; init; }
Property Value
UnderlinePosition
public float UnderlinePosition { get; init; }
Property Value
UnderlineThickness
public float UnderlineThickness { get; init; }
Property Value
UnitsPerEm
public ushort UnitsPerEm { get; init; }