Compose Unstyled 2.0 is out! Check the official announcement blog ->
Interface

RemoteTypeface

A sealed interface that represent the concept of a Typeface in Remote Compose.

Source set: Android
public sealed interface RemoteTypeface

A sealed interface that represent the concept of a Typeface in Remote Compose.

Custom or named system fonts are represented by Named type and are registered in the document as Strings to be referenced.

Properties

name

Source set: Android
public val name: String

The name used to identify the font in the document and player

Functions

toAndroidTypeface

public fun toAndroidTypeface(): Typeface

Converts this RemoteTypeface to an Android framework Typeface.

Last updated: