Table of Contents

Class FontVariationAxis

Namespace
Selenium.WebDriver.BiDi.Cdp.CSS
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Information about font variation axes for variable fonts

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

Constructors

FontVariationAxis(string, string, double, double, double)

Information about font variation axes for variable fonts

public FontVariationAxis(string Tag, string Name, double MinValue, double MaxValue, double DefaultValue)

Parameters

Tag string

The font-variation-setting tag (a.k.a. "axis tag").

Name string

Human-readable variation name in the default language (normally, "en").

MinValue double

The minimum value (inclusive) the font supports for this tag.

MaxValue double

The maximum value (inclusive) the font supports for this tag.

DefaultValue double

The default value.

Properties

DefaultValue

The default value.

public double DefaultValue { get; init; }

Property Value

double

MaxValue

The maximum value (inclusive) the font supports for this tag.

public double MaxValue { get; init; }

Property Value

double

MinValue

The minimum value (inclusive) the font supports for this tag.

public double MinValue { get; init; }

Property Value

double

Name

Human-readable variation name in the default language (normally, "en").

public string Name { get; init; }

Property Value

string

Tag

The font-variation-setting tag (a.k.a. "axis tag").

public string Tag { get; init; }

Property Value

string