Insets
data class Insets(val left: Int = 0, val top: Int = 0, val right: Int = 0, val bottom: Int = 0)(source)
Immutable non-negative distances applied to the four sides of a rectangle.
Horizontal and vertical totals are checked during construction. Every constructed instance can therefore be used by layout arithmetic without silently wrapping an integer.
Throws
when a side is negative.
when either axis total cannot be represented as an Int.