row

fun row(spacing: Dp = Dp.Zero, horizontalArrangement: HorizontalArrangement = HorizontalArrangement.Start, verticalAlignment: VerticalAlignment = VerticalAlignment.Top, background: PdfColor? = null, cornerRadius: Dp = Dp.Zero, padding: Padding = Padding.Zero, border: BorderStroke? = null, cornerRadiusEach: CornerRadius? = null, borderEach: BorderSides? = null, backgroundPaint: PdfPaint? = null, clipToBounds: Boolean = false, dropShadow: DropShadow? = null, rotation: Float = 0.0f, opacity: Float = 1.0f, block: RowScope.() -> Unit)

Appends a horizontal container that lays its children left-to-right.

Same decoration parameters (background, cornerRadius, padding, border) as column.

Parameters

spacing

extra horizontal gap inserted between adjacent children.

horizontalArrangement

how the children are distributed along the row's horizontal axis.

verticalAlignment

cross-axis alignment for children that are shorter than the row.

background

optional fill drawn behind the row.

cornerRadius

radius of the rounded outline.

padding

inset between the row outline and the children.

border

optional outline drawn around the row.