Package-level declarations

Types

Link copied to clipboard
data class HtmlDecorationTemplate(val layout: HtmlDecorationTemplate.Layout, val width: HtmlDecorationTemplate.Width = Width.WRAP, val element: (Decoration) -> String = { "<div/>" }, val stylesheet: String? = null) : JSONable

An HtmlDecorationTemplate renders a Decoration into a set of HTML elements and associated stylesheet.

Link copied to clipboard

Functions

Link copied to clipboard
fun Int.toCss(alpha: Double? = null): String

Converts the receiver color int to a CSS expression.