Typography

data class Typography(val sizeScaleFactor: Float, @FontRes val fontResId: Int?) : Parcelable

Constructors

Link copied to clipboard
fun Typography(sizeScaleFactor: Float, @FontRes fontResId: Int?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val fontResId: Int?

The font used in text. This should be a resource ID value.

Link copied to clipboard
val sizeScaleFactor: Float

The scale factor for all fonts in PaymentSheet, the default value is 1.0. When this value increases fonts will increase in size and decrease when this value is lowered.