Table of Contents

Struct GlyphMetrics

Namespace
KernSmith.Font.Models
Assembly
KernSmith.dll

Per-glyph positioning metrics in pixels, computed during rasterization.

public readonly record struct GlyphMetrics : IEquatable<GlyphMetrics>
Implements
Inherited Members

Constructors

GlyphMetrics(int, int, int, int, int)

Per-glyph positioning metrics in pixels, computed during rasterization.

public GlyphMetrics(int BearingX, int BearingY, int Advance, int Width, int Height)

Parameters

BearingX int
BearingY int
Advance int
Width int
Height int

Properties

Advance

public int Advance { get; init; }

Property Value

int

BearingX

public int BearingX { get; init; }

Property Value

int

BearingY

public int BearingY { get; init; }

Property Value

int

Height

public int Height { get; init; }

Property Value

int

Width

public int Width { get; init; }

Property Value

int