Style

class Style(fontSize: Float? = null, fontWeight: Int? = null, textTransform: TextTransform = TextTransform.None) : Parcelable

Parameters

fontSize

The font size for the typography style in sp. If null the default will be used.

fontWeight

The weight of the font used in this style (e.g., bold, normal) between 0-1000. If null the default will be used.

textTransform

The text transformation applied (e.g., uppercase, lowercase). Default is 'none'.

Constructors

Link copied to clipboard
constructor(fontSize: Float? = null, fontWeight: Int? = null, textTransform: TextTransform = TextTransform.None)

Functions

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