---
title: "setTypeFace"
type: "function"
---
## API Reference

### setTypeFace

> Source set: Android

```kotlin
override fun setTypeFace(fontType: Int, weight: Int, italic: Boolean)
```

### setTypeFace

> Source set: Android

```kotlin
override fun setTypeFace(fontType: String, weight: Int, italic: Boolean)
```

#### Parameters

| | |
| --- | --- |
| fontType | String to be looked up in system |
| weight | the weight of the font |
| italic | if the font is italic |
