toItalicSpan

fun CharSequence.toItalicSpan(range: IntRange = IntRange(0, length)): SpannableString

Change the text to italic

Parameters

range

The range of text to change the italic