Klasse AttrFontDesc

Alle implementierten Schnittstellen:
PointerInterface

public class AttrFontDesc extends Record
The `PangoAttrFontDesc` structure is used to store an attribute that
sets all aspects of the font description at once.

https://docs.gtk.org/Pango/struct.AttrFontDesc.html

  • Felddetails

    • ATTR

      public static final String ATTR
      the common portion of the attribute
      Private field: direct-type
      Siehe auch:
    • DESC

      public static final String DESC
      the font description which is the value of this attribute
      Siehe auch:
  • Konstruktordetails

    • AttrFontDesc

      public AttrFontDesc(PointerContainer pointer)
    • AttrFontDesc

      public AttrFontDesc()
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldDesc

      public void setFieldDesc(FontDescription desc)
      the font description which is the value of this attribute
    • getFieldDesc

      public FontDescription getFieldDesc()
      the font description which is the value of this attribute
    • _new

      public static Attribute _new(@Nonnull FontDescription desc)
      Create a new font description attribute.

      This attribute allows setting family, style, weight, variant,
      stretch, and size simultaneously.
      Parameter:
      desc - the font description
      Gibt zurück:
      the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]