Summary

Public constructors

android

Public functions

open Typeface
load(font: Font)

This function is deprecated. Replaced by FontFamily.Resolver, this method should not be called

android

Public constructors

FontLoader

FontLoader()

Public functions

load

open fun load(font: Font): Typeface

Loads resource represented by the Font object.

Parameters
font: Font

Font to be loaded

Returns
Typeface

platform specific typeface

Throws
kotlin.Exception

if font cannot be loaded

kotlin.IllegalStateException

if font cannot be loaded