insetsOf

inline fun insetsOf(): Insets

Empty insets. An Insets instance with all offsets equal to zero.


fun insetsOf(all: Int): Insets

Create an inset where Int number will be applied to all side.


fun insetsOf(all: Long): Insets

Create an inset where Long number will be applied to all side.


inline fun insetsOf(all: Double): Insets

Create an inset where Double number will be applied to all side.


fun insetsOf(vertical: Int = 0, horizontal: Int = 0): Insets

Create an inset where Int number will be applied to both side.


fun insetsOf(vertical: Long = 0, horizontal: Long = 0): Insets

Create an inset where Long number will be applied to both side.


inline fun insetsOf(vertical: Double = 0.0, horizontal: Double = 0.0): Insets

Create an inset where Double number will be applied to both side.


fun insetsOf(top: Int = 0, right: Int = 0, bottom: Int = 0, left: Int = 0): Insets

Create an inset where Int number will be applied to each side.


fun insetsOf(top: Long = 0, right: Long = 0, bottom: Long = 0, left: Long = 0): Insets

Create an inset where Long number will be applied to each side.


inline fun insetsOf(top: Double = 0.0, right: Double = 0.0, bottom: Double = 0.0, left: Double = 0.0): Insets

Create an inset where Double number will be applied to each side.