setItalic

open fun setItalic(italic: Boolean)

Sets the italic property for the current selection/cursor position.

Parameters

italic

true to make the text italic, false to remove italic formatting.