C E N T E R
CENTER(withinFn, { other, target ->
other.center.withRelativeY(-target.height / 2)
.withRelativeX(-target.width / 2)
}, aroundFn, { _, _ ->
throw UnsupportedOperationException("Can't use CENTER alignment around a container.")
})
Content copied to clipboard
Functions
alignAround
Link copied to clipboard
alignWithin
Link copied to clipboard
compareTo
Link copied to clipboard