Table of Contents

Struct Spacing

Namespace
KernSmith
Assembly
KernSmith.dll

Gap between glyphs in the atlas, in pixels.

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

Constructors

Spacing(int)

Same spacing in both directions.

public Spacing(int both)

Parameters

both int

Spacing(int, int)

Gap between glyphs in the atlas, in pixels.

public Spacing(int Horizontal, int Vertical)

Parameters

Horizontal int
Vertical int

Properties

Horizontal

public int Horizontal { get; init; }

Property Value

int

Vertical

public int Vertical { get; init; }

Property Value

int

Zero

No spacing in either direction.

public static Spacing Zero { get; }

Property Value

Spacing