Skip to main content

Struct HbFontExtents

Namespace: VelloSharp.Text
Assembly: VelloSharp.Text.dll

public readonly record struct HbFontExtents : IEquatable<HbFontExtents>

Implements

IEquatable<HbFontExtents>

Inherited Members

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

Constructors

HbFontExtents(float, float, float)

public HbFontExtents(float Ascender, float Descender, float LineGap)

Parameters

Ascender float

Descender float

LineGap float

Properties

Ascender

public float Ascender { get; init; }

Property Value

float

Descender

public float Descender { get; init; }

Property Value

float

Empty

public static HbFontExtents Empty { get; }

Property Value

HbFontExtents

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

LineGap

public float LineGap { get; init; }

Property Value

float