BoxModel

@Serializable
data class BoxModel(val content: Quad, val padding: Quad, val border: Quad, val margin: Quad, val width: Int, val height: Int, val shapeOutside: ShapeOutsideInfo? = null)

Box model.

Official doc

Constructors

Link copied to clipboard
constructor(content: Quad, padding: Quad, border: Quad, margin: Quad, width: Int, height: Int, shapeOutside: ShapeOutsideInfo? = null)

Properties

Link copied to clipboard

Border box

Link copied to clipboard

Content box

Link copied to clipboard
val height: Int

Node height

Link copied to clipboard

Margin box

Link copied to clipboard

Padding box

Link copied to clipboard

Shape outside coordinates

Link copied to clipboard
val width: Int

Node width