Interface CSSFontFeatureValuesRule

All Superinterfaces:
CSSRule, org.w3c.dom.css.CSSRule
All Known Implementing Classes:
FontFeatureValuesRule

public interface CSSFontFeatureValuesRule extends CSSRule
  • Method Details

    • getFontFamily

      String[] getFontFamily()
      Get the list of font families for which a given set of feature values is defined.
      Returns:
      the list of font families.
    • getAnnotation

      CSSFontFeatureValuesMap getAnnotation()
      Get the annotation map.
      Returns:
      the annotation map.
    • getOrnaments

      CSSFontFeatureValuesMap getOrnaments()
      Get the ornaments map.
      Returns:
      the ornaments map.
    • getStylistic

      CSSFontFeatureValuesMap getStylistic()
      Get the stylistic map.
      Returns:
      the stylistic map.
    • getSwash

      Get the swash map.
      Returns:
      the swash map.
    • getCharacterVariant

      CSSFontFeatureValuesMap getCharacterVariant()
      Get the characterVariant map.
      Returns:
      the characterVariant map.
    • getStyleset

      Get the styleset map.
      Returns:
      the styleset map.
    • enableMap

      void enableMap(String featureValueName)
      Enable a feature values map for the given feature value name. When enabled, a map for featureValueName will be returned by getFeatureValuesMap(String).

      If a standard feature values name (like 'annotation' or 'stylistic') is enabled, this method has no effect. The method can be used to enable, for example, historical-forms.

      Parameters:
      featureValueName - the feature value name to be enabled.
    • getFeatureValuesMap

      CSSFontFeatureValuesMap getFeatureValuesMap(String featureValueName)
      Get a feature values map for the given name.
      Parameters:
      featureValueName - the feature value name.
      Returns:
      the feature values map, or null if the feature value name is not standard and has not been enabled by enableMap(String).