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
all(border: Border = defaultBorder)

Add all borders.

Unit
allHorizontal(border: Border = defaultBorder)

Add all horizontal borders.

Unit
allVertical(border: Border = defaultBorder)

Add all vertical borders.

Unit
bottom(border: Border = defaultBorder)

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
left(border: Border = defaultBorder)

Add a vertical border before the first column.

Unit
outer(border: Border = defaultBorder)

Add all outer borders.

Unit
right(border: Border = defaultBorder)

Add a vertical border after the last column.

Unit
top(border: Border = defaultBorder)

Add a horizontal border before the first row.

Unit
vertical(column: Int, rows: IntRange = 0 until rowCount, border: Border = defaultBorder)

Add a vertical border before column at the rows specified by rows.

Public methods

all

fun all(border: Border = defaultBorder): Unit

Add all borders.

allHorizontal

fun allHorizontal(border: Border = defaultBorder): Unit

Add all horizontal borders.

allVertical

fun allVertical(border: Border = defaultBorder): Unit

Add all vertical borders.

bottom

fun bottom(border: Border = defaultBorder): Unit

Add a horizontal border after the last row.

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.

left

fun left(border: Border = defaultBorder): Unit

Add a vertical border before the first column.

outer

fun outer(border: Border = defaultBorder): Unit

Add all outer borders.

right

fun right(border: Border = defaultBorder): Unit

Add a vertical border after the last column.

top

fun top(border: Border = defaultBorder): Unit

Add a horizontal border before the first row.

vertical

fun vertical(
    column: Int,
    rows: IntRange = 0 until rowCount,
    border: Border = defaultBorder
): Unit

Add a vertical border before column at the rows specified by rows.