{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Typeface

public interface Typeface


A class that can be used for changing the font used in text.

Summary

Public methods

abstract FontFamily

The font family used for creating this Typeface.

Public methods

getFontFamily

abstract FontFamily getFontFamily()

The font family used for creating this Typeface. If a platform Typeface was used, will return null.