Companion

object Companion

Functions

Link copied to clipboard
Link copied to clipboard
fun makeFromData(data: Data, index: Int = 0): Typeface
makeFromFile
Link copied to clipboard
fun Typeface.Companion.makeFromFile(path: String, index: Int = 0): Typeface
Link copied to clipboard
fun makeFromName(name: String?, style: FontStyle): Typeface

Creates a new reference to the typeface that most closely matches the requested name and style. This method allows extended font face specifiers as in the FontStyle type. Will never return null.