Table of Contents

Class FontFace

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

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.

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

Constructors

FontFace(string, string, string, string, string, string, string, string, string)

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.

public FontFace(string FontFamily, string FontStyle, string FontVariant, string FontWeight, string FontStretch, string FontDisplay, string UnicodeRange, string Src, string PlatformFontFamily)

Parameters

FontFamily string

The font-family.

FontStyle string

The font-style.

FontVariant string

The font-variant.

FontWeight string

The font-weight.

FontStretch string

The font-stretch.

FontDisplay string

The font-display.

UnicodeRange string

The unicode-range.

Src string

The src.

PlatformFontFamily string

The resolved platform font family

Properties

FontDisplay

The font-display.

public string FontDisplay { get; init; }

Property Value

string

FontFamily

The font-family.

public string FontFamily { get; init; }

Property Value

string

FontStretch

The font-stretch.

public string FontStretch { get; init; }

Property Value

string

FontStyle

The font-style.

public string FontStyle { get; init; }

Property Value

string

FontVariant

The font-variant.

public string FontVariant { get; init; }

Property Value

string

FontVariationAxes

Available variation settings (a.k.a. "axes").

public ImmutableArray<FontVariationAxis>? FontVariationAxes { get; init; }

Property Value

ImmutableArray<FontVariationAxis>?

FontWeight

The font-weight.

public string FontWeight { get; init; }

Property Value

string

PlatformFontFamily

The resolved platform font family

public string PlatformFontFamily { get; init; }

Property Value

string

Src

The src.

public string Src { get; init; }

Property Value

string

UnicodeRange

The unicode-range.

public string UnicodeRange { get; init; }

Property Value

string