DrawBordersReceiver
class DrawBordersReceiver
kotlin.Any | |
↳ | androidx.ui.foundation.DrawBordersReceiver |
Collects information about the borders specified by drawBorders when its body is executed with a DrawBordersReceiver instance as argument.
Summary
Public methods |
|
---|---|
Unit |
Add all borders. |
Unit |
allHorizontal(border: Border = defaultBorder) Add all horizontal borders. |
Unit |
allVertical(border: Border = defaultBorder) Add all vertical borders. |
Unit |
Add a horizontal border after the last row. |
Unit |
horizontal(row: Int, columns: IntRange = 0 until columnCount, border: Border = defaultBorder) Add a horizontal border before row at the columns specified by columns. |
Unit |
Add a vertical border before the first column. |
Unit |
Add all outer borders. |
Unit |
Add a vertical border after the last column. |
Unit |
Add a horizontal border before the first row. |
Unit |
Add a vertical border before column at the rows specified by rows. |
Public methods
horizontal
fun horizontal(
row: Int,
columns: IntRange = 0 until columnCount,
border: Border = defaultBorder
): Unit
Add a horizontal border before row at the columns specified by columns.