balloon / com.skydoves.balloon / TextForm / Builder

Builder

class Builder

Builder class for TextForm.

Constructors

<init>

Builder(context: Context)

Builder class for TextForm.

Properties

text

var text: String

textColor

var textColor: Int

textSize

var textSize: Float

textTypeface

var textTypeface: Int

Functions

build

fun build(): TextForm

setText

fun setText(value: String): Builder

sets the content text of the form.

setTextColor

fun setTextColor(value: Int): Builder

sets the color of the text.

setTextSize

fun setTextSize(value: Float): Builder

sets the size of the text.

setTextTypeFace

fun setTextTypeFace(value: Int): Builder

sets the Typeface of the text.