CssFontFeatureValuesRule Class

https://drafts.csswg.org/css-fonts-4/#font-feature-values: the names of the feature values of the font-variant-alternates functions of the families of the rule. The feature value blocks of the same type are merged (the last declaration of a name wins). The feature values are not used: the fonts are not rendered.

public sealed class CssFontFeatureValuesRule : CssRule
Inheritance
CssRule CssFontFeatureValuesRule

Properties

NameDescription
AnnotationGets the map of the @annotation feature values.
CharacterVariantGets the map of the @character-variant feature values.
FontFamilyThe family names of the rule, serialized as a comma-separated list. Setting a value that is not a list of family names does nothing.
HistoricalFormsGets the map of the @historical-forms feature values.
OrnamentsGets the map of the @ornaments feature values.
StylesetGets the map of the @styleset feature values.
StylisticGets the map of the @stylistic feature values.
SwashGets the map of the @swash feature values.
TypeGets the type of the rule: CssRule.FontFeatureValuesRule.

Gets the map of the @annotation feature values.

public CssFontFeatureValuesMap Annotation { get; }

Gets the map of the @character-variant feature values.

public CssFontFeatureValuesMap CharacterVariant { get; }

The family names of the rule, serialized as a comma-separated list. Setting a value that is not a list of family names does nothing.

public string FontFamily { get; set; }

Gets the map of the @historical-forms feature values.

public CssFontFeatureValuesMap HistoricalForms { get; }

Gets the map of the @ornaments feature values.

public CssFontFeatureValuesMap Ornaments { get; }

Gets the map of the @styleset feature values.

public CssFontFeatureValuesMap Styleset { get; }

Gets the map of the @stylistic feature values.

public CssFontFeatureValuesMap Stylistic { get; }

Gets the map of the @swash feature values.

public CssFontFeatureValuesMap Swash { get; }

Gets the type of the rule: CssRule.FontFeatureValuesRule.

public override ushort Type { get; }

Property value

ushort