Skip to main content

Struct GlyphMetrics

Namespace: VelloSharp
Assembly: VelloSharp.Core.dll

public readonly record struct GlyphMetrics : IEquatable<GlyphMetrics>

Implements

IEquatable<GlyphMetrics>

Inherited Members

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

Constructors

GlyphMetrics(float, float, float, float, float)

public GlyphMetrics(float Advance, float XBearing, float YBearing, float Width, float Height)

Parameters

Advance float

XBearing float

YBearing float

Width float

Height float

Properties

Advance

public float Advance { get; init; }

Property Value

float

Height

public float Height { get; init; }

Property Value

float

Width

public float Width { get; init; }

Property Value

float

XBearing

public float XBearing { get; init; }

Property Value

float

YBearing

public float YBearing { get; init; }

Property Value

float