Table of Contents

Class NamedInstance

Namespace
KernSmith.Font.Tables
Assembly
KernSmith.dll

A preset style in a variable font, like "Bold" or "Light Condensed".

public sealed record NamedInstance : IEquatable<NamedInstance>
Inheritance
NamedInstance
Implements
Inherited Members

Constructors

NamedInstance(string?, IReadOnlyDictionary<string, float>)

A preset style in a variable font, like "Bold" or "Light Condensed".

public NamedInstance(string? Name, IReadOnlyDictionary<string, float> Coordinates)

Parameters

Name string

Display name, like "Bold" or "Light".

Coordinates IReadOnlyDictionary<string, float>

Axis values for this preset. For example, "wght" = 700 for bold.

Properties

Coordinates

Axis values for this preset. For example, "wght" = 700 for bold.

public IReadOnlyDictionary<string, float> Coordinates { get; init; }

Property Value

IReadOnlyDictionary<string, float>

Name

Display name, like "Bold" or "Light".

public string? Name { get; init; }

Property Value

string