Interface Font

All Superinterfaces:
Proxy
All Known Implementing Classes:
Font.Font$Impl

@Generated("org.javagi.JavaGI") public interface Font extends Proxy

PangoCairoFont is an interface exported by fonts for use with Cairo.

The actual type of the font will depend on the particular font technology Cairo was compiled to use.

Since:
1.18
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    The Font$Impl type represents a native instance of the Font interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable org.freedesktop.cairo.ScaledFont
    Gets the cairo_scaled_font_t used by font. The scaled font can be referenced and kept using cairo_scaled_font_reference().
    static @Nullable Type
    Get the GType of the Font class.

    Methods inherited from interface Proxy

    handle
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the Font class.
      Returns:
      the GType
    • getScaledFont

      default @Nullable org.freedesktop.cairo.ScaledFont getScaledFont()
      Gets the cairo_scaled_font_t used by font. The scaled font can be referenced and kept using cairo_scaled_font_reference().
      Returns:
      the cairo_scaled_font_t used by this Font
      Since:
      1.18