KetraTerm
API · v0.3.0All versions

SwingPadding

data class SwingPadding(val top: Int = 0, val left: Int = 0, val bottom: Int = 0, val right: Int = 0)

Immutable, non-negative visual spacing around the terminal grid, in pixels.

The same value can be shared by settings snapshots and read during painting. Changing an edge with copy creates a new value and validates all edges.

Constructors

Link copied to clipboard
constructor(top: Int = 0, left: Int = 0, bottom: Int = 0, right: Int = 0)

Properties

Link copied to clipboard
val bottom: Int

spacing below the grid.

Link copied to clipboard
val left: Int

spacing before the grid.

Link copied to clipboard
val right: Int

spacing after the grid.

Link copied to clipboard
val top: Int

spacing above the grid.