Skip to main content

Struct HbVerticalGlyphMetrics

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

public readonly record struct HbVerticalGlyphMetrics : IEquatable<HbVerticalGlyphMetrics>

Implements

IEquatable<HbVerticalGlyphMetrics>

Inherited Members

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

Constructors

HbVerticalGlyphMetrics(float, float, float, float)

public HbVerticalGlyphMetrics(float Advance, float OriginX, float OriginY, float TopSideBearing)

Parameters

Advance float

OriginX float

OriginY float

TopSideBearing float

Properties

Advance

public float Advance { get; init; }

Property Value

float

Empty

public static HbVerticalGlyphMetrics Empty { get; }

Property Value

HbVerticalGlyphMetrics

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

OriginX

public float OriginX { get; init; }

Property Value

float

OriginY

public float OriginY { get; init; }

Property Value

float

TopSideBearing

public float TopSideBearing { get; init; }

Property Value

float