MarginValues¶
data class MarginValues(
val left: Int = 0,
val right: Int = 0,
val top: Int = 0,
val bottom: Int = 0
)
Holds the four-sided margin values used by MarginModifier.
Constructors¶
MarginValues¶
Properties¶
bottom¶
left¶
right¶
top¶
Functions¶
getOffset¶
fun getOffset(): IntCoordinates
Returns the top-left corner offset (left, top) as an IntCoordinates.
plus¶
operator fun plus(other: MarginValues): MarginValues