TableBorder

data class TableBorder(val color: PdfColor = PdfColor.Gray, val width: Dp = Dp(0.5f), val showOutline: Boolean = true, val showHorizontalLines: Boolean = true, val showVerticalLines: Boolean = true)

Border configuration for a com.conamobile.pdfkmp.dsl.table.

The border consists of three independently togglable parts: the outer showOutline, the showHorizontalLines separating rows, and the showVerticalLines separating columns. All three share the same color and width.

Set width to Dp.Zero (or any of the toggles to false) to suppress a particular line. Use None to disable borders entirely.

Constructors

Link copied to clipboard
constructor(color: PdfColor = PdfColor.Gray, width: Dp = Dp(0.5f), showOutline: Boolean = true, showHorizontalLines: Boolean = true, showVerticalLines: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val showOutline: Boolean = true
Link copied to clipboard
Link copied to clipboard
val width: Dp