Class FontsetSimple

All Implemented Interfaces:
PointerInterface

public class FontsetSimple extends Fontset
`PangoFontsetSimple` is a implementation of the abstract
`PangoFontset` base class as an array of fonts.

When creating a `PangoFontsetSimple`, you have to provide
the array of fonts that make up the fontset.

https://docs.gtk.org/Pango/class.FontsetSimple.html

  • Constructor Details

    • FontsetSimple

      public FontsetSimple(PointerContainer pointer)
    • FontsetSimple

      public FontsetSimple(@Nonnull Language language)
      Creates a new `PangoFontsetSimple` for the given language.
      Parameters:
      language - a `PangoLanguage` tag
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • append

      public void append(@Nonnull Font font)
      Adds a font to the fontset.

      The fontset takes ownership of @font.
      Parameters:
      font - a `PangoFont`.
    • size

      public int size()
      Returns the number of fonts in the fontset.
      Returns:
      the size of @fontset
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()