Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

FontVariationSettings

Namespace ChartForgeX.Typography
Assembly ChartForgeX
Implements
IReadOnlyDictionary<String, Double> IReadOnlyCollection<KeyValuePair<String, Double>> IEnumerable<KeyValuePair<String, Double>> IEnumerable
Modifiers sealed
Attributes
DefaultMember("Item")

Immutable, case-sensitive OpenType axis coordinates in the font's design units. Unknown axes are ignored by a face; supported values are clamped to its declared range.

Inheritance

  • Object
  • FontVariationSettings

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

FontVariationSettings 2 overloads
public FontVariationSettings() #

Creates the default instance.

public FontVariationSettings(IEnumerable<KeyValuePair<String, Double>> axes) #

Copies axis coordinates. Tags contain exactly four ASCII letters or digits; values must be finite. A specification can contain at most 32 axes.

Parameters

axes System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Double>> requiredposition: 0

Methods

public Boolean ContainsKey(String key) #
Returns: Boolean

Tests whether an axis is explicitly selected.

Parameters

key System.String requiredposition: 0
public IEnumerator<KeyValuePair<String, Double>> GetEnumerator() #
Returns: IEnumerator<KeyValuePair<String, Double>>

Enumerates selected coordinates in tag order.

public Boolean TryGetValue(String key, out Double value) #
Returns: Boolean

Reads an explicitly selected design coordinate.

Parameters

key System.String requiredposition: 0
value System.Double requiredposition: 1
public FontVariationSettings WithAxis(String tag, Double value) #
Returns: FontVariationSettings

Returns an independent selection with one axis set or replaced.

Parameters

tag System.String requiredposition: 0
value System.Double requiredposition: 1

Properties

public static FontVariationSettings Default { get; } #

The font's default instance, without explicit axis coordinates.

public Int32 Count { get; } #

The number of explicitly selected axes.

public IEnumerable<String> Keys { get; } #

The selected axis tags.

public IEnumerable<Double> Values { get; } #

The selected design coordinates.

public Double this[String key] { get; } #

Gets a selected design coordinate.

Parameters

key System.String requiredposition: 0