Module javafx.graphics
Package javafx.css.converter

# Class FontConverter

java.lang.Object
javafx.css.StyleConverter<ParsedValue[],​Font>
javafx.css.converter.FontConverter

    public final class FontConverter
    extends StyleConverter<ParsedValue[],​Font>

Converter to convert a parsed representation of a `Font` to a `Font`.

Since:
  9

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Class | Description
  --- | --- | ---
  `static class` | `FontConverter.FontSizeConverter` | Converter to convert a parsed font size value to a `Number` object.
  `static class` | `FontConverter.FontStyleConverter` | Converter to convert a `String` value to a `FontPosture` object.
  `static class` | `FontConverter.FontWeightConverter` | Converter to convert a `String` value to a `FontWeight` object.

  ## Nested classes/interfaces declared in class javafx.css.StyleConverter

  `StyleConverter.StringStore`

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `static StyleConverter<ParsedValue[],​Font>` | `getInstance()` | Gets the `FontConverter` instance.

  ### Methods declared in class javafx.css.StyleConverter

  `cacheValue, clearCache, convert, convert, getBooleanConverter, getCachedValue, getColorConverter, getDurationConverter, getEffectConverter, getEnumConverter, getFontConverter, getInsetsConverter, getPaintConverter, getSizeConverter, getStringConverter, getUrlConverter, readBinary, writeBinary`

  ### Methods declared in class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static StyleConverter<ParsedValue[],​Font> getInstance()
    Gets the `FontConverter` instance.
    Returns:
      the `FontConverter` instance