BorderRadius

data class BorderRadius(val topLeft: Length? = null, val topRight: Length? = null, val bottomRight: Length? = null, val bottomLeft: Length? = null)

Corner radii (border-radius) as four explicit corners.

Like Spacing, the uniform shorthand ({ "value", "unit" }) is accepted on the wire and expanded to all four corners on decode. Omitted corners stay null (CSS 0).

Constructors

Link copied to clipboard
constructor(topLeft: Length? = null, topRight: Length? = null, bottomRight: Length? = null, bottomLeft: Length? = null)

Properties

Link copied to clipboard
val bottomLeft: Length? = null
Link copied to clipboard
val bottomRight: Length? = null
Link copied to clipboard
val topLeft: Length? = null
Link copied to clipboard
val topRight: Length? = null