Klasse FontFace

Alle implementierten Schnittstellen:
PointerInterface

public class FontFace extends PropertyHolder
A `PangoFontFace` is used to represent a group of fonts with
the same family, slant, weight, and width, but varying sizes.

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

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • describe

      public FontDescription describe()
      Returns a font description that matches the face.

      The resulting font description will have the family, style,
      variant, weight and stretch of the face, but its size field
      will be unset.
      Gibt zurück:
      a newly-created `PangoFontDescription` structure holding the description of the face. Use [method@Pango.FontDescription.free] to free the result.
    • getFaceName

      public Str getFaceName()
      Gets a name representing the style of this face.

      Note that a font family may contain multiple faces
      with the same name (e.g. a variable and a non-variable
      face for the same style).
      Gibt zurück:
      the face name for the face. This string is owned by the face object and must not be modified or freed.
    • getFamily

      public FontFamily getFamily()
      Gets the `PangoFontFamily` that @face belongs to.
      Gibt zurück:
      the `PangoFontFamily`
    • isSynthesized

      public boolean isSynthesized()
      Returns whether a `PangoFontFace` is synthesized.

      This will be the case if the underlying font rendering engine
      creates this face from another face, by shearing, emboldening,
      lightening or modifying it in some other way.
      Gibt zurück:
      whether @face is synthesized
    • 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()