GoogleFont

data class GoogleFont(val name: String) : FontFamily

A font family that is loaded from Google Fonts.

Parameters

name

the name of the Google Font, case-sensitive

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open override val id: String

Unique identifier for the font family, based on its path. Multiple font families with the same path will have the same ID.

Link copied to clipboard
Link copied to clipboard
open override val path: String

Name, path or URL that the font family was loaded from.