set

fun set(other: Insets): Insets

Updates the size of each of the four insets to match the size of its corresponding inset from the provided Insets instance.


fun set(all: Float): Insets

Sets a common size for all four insets.


fun set(start: Float = 0.0f, top: Float = 0.0f, end: Float = 0.0f, bottom: Float = 0.0f): Insets

Updates the size of each of the four insets individually.


open override fun set(start: Float, end: Float)

Updates the sizes of the start inset and the end inset.