toString

open override fun toString(): String

Converts the style to its legacy text formatting code representation.

Return

A string containing the legacy text formatting code for the style.