column

fun List<List<Rectangle>>.column(index: Int): List<Rectangle>(source)

Retrieves a column of rectangles from a 2D list of rectangles.

Return

A list of Rectangle objects representing the specified column.

Parameters

index

The index of the column to retrieve.