• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FontVariationInstance

Represents a named instance (a specific set of axis coordinates) in a variable font.

Inheritance
object
FontVariationInstance
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Font.Core
Assembly: DRIT.Drawing.dll
Syntax
public sealed class FontVariationInstance

Constructors

FontVariationInstance(string, IReadOnlyDictionary<string, double>)

Initializes a new FontVariationInstance with the specified name and coordinates.

Declaration
public FontVariationInstance(string name, IReadOnlyDictionary<string, double> coordinates)
Parameters
Type Name Description
string name

Human-readable name for this instance.

IReadOnlyDictionary<string, double> coordinates

Per-axis coordinate values for this instance.

Properties

Coordinates

Per-axis coordinate values for this instance, keyed by axis tag (e.g. "wght" → 700.0).

Declaration
public IReadOnlyDictionary<string, double> Coordinates { get; }
Property Value
Type Description
IReadOnlyDictionary<string, double>

Name

Human-readable name for this instance (e.g. "Bold", "Light Condensed").

Declaration
public string Name { get; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX