Package-level declarations

Types

Link copied to clipboard
interface Style

Style for a segment of StyledText.

Link copied to clipboard
Link copied to clipboard
enum Target : Enum<Target>

Indicates whether a Paint is applied to the foreground or background

Link copied to clipboard
class TextDecoration(    val lines: Set<TextDecoration.Line> = emptySet(),     val color: Color? = null,     val style: TextDecoration.Style = Solid,     val thickness: TextDecoration.Thickness? = null)

Created by Nicholas Eddy on 10/31/17.

Link copied to clipboard
data class TextSpacing(val wordSpacing: Double = 0.0, val letterSpacing: Double = 0.0)

Inherited functions

Link copied to clipboard
operator fun Font?.invoke(text: () -> StyledText): StyledText
@JvmName(name = "invokeString")
operator fun Font?.invoke(text: () -> String): StyledText
operator fun Stroke?.invoke(text: () -> StyledText): StyledText
@JvmName(name = "invokeString")
operator fun Stroke?.invoke(text: () -> String): StyledText
operator fun TextDecoration?.invoke(text: () -> StyledText): StyledText
@JvmName(name = "invokeString")
operator fun TextDecoration?.invoke(text: () -> String): StyledText
operator fun Color?.invoke(target: Target = Foreground, text: () -> StyledText): StyledText
@JvmName(name = "invokeString")
operator fun Color?.invoke(target: Target = Foreground, text: () -> String): StyledText
operator fun Paint?.invoke(target: Target = Foreground, text: () -> StyledText): StyledText
@JvmName(name = "invokeString")
operator fun Paint?.invoke(target: Target = Foreground, text: () -> String): StyledText
Link copied to clipboard
operator fun String.rangeTo(styled: StyledText): StyledText