Typography

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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.

Functions

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