FontFamily

open class FontFamily(pointer: <Error class: unknown class><<Error class: unknown class>>)

A PangoFontFamily is used to represent a family of related font faces.

The font faces in a family share a common design, but differ in slant, weight, width or other aspects.

Skipped during bindings generation

  • parameter faces: faces: Out parameter is not supported

  • method is-monospace: Property has no getter nor setter

  • method is-variable: Property has no getter nor setter

  • method item-type: Property has no getter nor setter

  • method n-items: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val gioListModelPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val name: String

The name of the family

Link copied to clipboard
val pangoFontFamilyPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getFace(name: String? = null): FontFace?

Gets the PangoFontFace of @family with the given name.

Link copied to clipboard
open fun isMonospace(): Boolean

A monospace font is a font designed for text display where the the characters form a regular grid.

Link copied to clipboard
open fun isVariable(): Boolean

A variable font is a font which has axes that can be modified to produce different faces.