Media

data class Media(val media: Media, val path: String) : FontFamily

A font family that is loaded from a media source, such as a file or URL.

Parameters

media

the media object representing the font

Constructors

Link copied to clipboard
constructor(media: Media, path: String)

Properties

Link copied to clipboard
open 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.