column
fun column(spacing: Dp = Dp.Zero, verticalArrangement: VerticalArrangement = VerticalArrangement.Top, horizontalAlignment: HorizontalAlignment = HorizontalAlignment.Start, 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: ColumnScope.() -> Unit)
Appends a vertical container that stacks its children top-to-bottom.
Decoration parameters (background, cornerRadius, padding, border) wrap the column with a coloured background and / or outline. Pass null (default) to skip them and keep the column undecorated.
Parameters
spacing
extra vertical gap inserted between adjacent children. Ignored when verticalArrangement is one of the Space* values.
verticalArrangement
how the children are distributed along the column's vertical axis.
horizontalAlignment
cross-axis alignment for children that are narrower than the column.
background
optional fill drawn behind the column.
cornerRadius
radius of the rounded outline for background / border. Dp.Zero keeps sharp corners.
padding
inset between the column outline and the children.
border
optional outline drawn around the column.