Class FontConfig

java.lang.Object
com.luciad.text.FontConfig
All Implemented Interfaces:
AutoCloseable

public final class FontConfig extends Object implements AutoCloseable
A class holding the configuration of a font.

It must first be registered before it can be used.

Since:
2024.1
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static FontConfig.Builder newBuilder()
      Creates a FontBuilder which can be used to specify more complex fonts.
      Returns:
      A FontBuilder.
    • getFontName

      @NotNull public String getFontName()
      Returns the name of the font.
      Returns:
      The name of the font.