Table of Contents

Class CSSFontFeatureValuesMap

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CSSFontFeatureValuesMap interface of the CSS Object Model (CSSOM) represents an iterable and read-only set of the CSSFontFeatureValuesRule properties, such as swash, annotation, ornaments, etc.

[Value("CSSFontFeatureValuesMap")]
public class CSSFontFeatureValuesMap
Inheritance
CSSFontFeatureValuesMap
Inherited Members

Remarks

An CSSFontFeatureValuesMap instance is a read-only Map-like object, in which each key is the user-defined name used to reference a font feature, and the corresponding value is the index for the font feature within the font.

-@font-feature-values

See also on MDN

Constructors

CSSFontFeatureValuesMap()

public CSSFontFeatureValuesMap()

Methods

Set(string, Union4)

The set() method of CSSFontFeatureValuesMap instances adds a new entry with a specified key and value to this CSSFontFeatureValuesMap, or updates an existing entry if the key already exists.

[Value("set")]
public GlobalObject.Undefined Set(string featureValueName, Union4 values)

Parameters

featureValueName string
values Union4

Returns

GlobalObject.Undefined

The CSSFontFeatureValuesMap object.

Remarks