---
title: "Typeface"
description: "A class that can be used for changing the font used in text."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
interface Typeface
```


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


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val fontFamily: FontFamily?
```


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




