setFontSize

fun setFontSize(@IntRange(from = 0.toLong()size: Int, isSp: Boolean = false): SpanBuilder

Set the span of size of font.

Return

the single SpanBuilder instance

Parameters

size

The size of font.

isSp

True to use sp, false to use pixel.