Builder

class Builder(array: TypedArray)

Constructors

Link copied to clipboard
fun Builder(array: TypedArray)

Functions

Link copied to clipboard
fun build(): TextStyle
Link copied to clipboard
fun color(@StyleableRes ref: Int, @ColorInt defValue: Int): TextStyle.Builder
Link copied to clipboard
fun font(@StyleableRes assetsPath: Int, @StyleableRes resId: Int): TextStyle.Builder
fun font(    @StyleableRes assetsPath: Int,     @StyleableRes resId: Int,     defaultFont: Typeface): TextStyle.Builder
Link copied to clipboard
fun hint(@StyleableRes ref: Int, defValue: String): TextStyle.Builder
Link copied to clipboard
fun hintColor(@StyleableRes ref: Int, @ColorInt defValue: Int): TextStyle.Builder
Link copied to clipboard
fun size(@StyleableRes ref: Int): TextStyle.Builder
fun size(@StyleableRes ref: Int, @Px defValue: Int): TextStyle.Builder
Link copied to clipboard
fun style(@StyleableRes ref: Int, defValue: Int): TextStyle.Builder