Excel Border
data class ExcelBorder(val all: BorderStyle? = null, val top: BorderStyle? = null, val bottom: BorderStyle? = null, val left: BorderStyle? = null, val right: BorderStyle? = null)
Represents cell border properties.
The [all] property serves as a shorthand for setting all four sides at once. Individual side properties ([top], [bottom], [left], [right]) take precedence over [all].
// All sides thin ExcelBorder(all = BorderStyle.THIN) // All sides thin, but top is thick ExcelBorder(all = BorderStyle.THIN, top = BorderStyle.THICK)
Constructors
Link copied to clipboard
constructor(all: BorderStyle? = null, top: BorderStyle? = null, bottom: BorderStyle? = null, left: BorderStyle? = null, right: BorderStyle? = null)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Resolved bottom border: bottom takes precedence over all.
Link copied to clipboard
Resolved left border: left takes precedence over all.
Link copied to clipboard
Resolved right border: right takes precedence over all.
Link copied to clipboard
Resolved top border: top takes precedence over all.