Package-level declarations

Functions

Link copied to clipboard
fun <T : View> T.alignBottomToBottomOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.yD so that this View's bottom side is aligned with the other View's bottom side

fun <T : View> T.alignBottomToBottomOf(other: View, padding: Float): T
fun <T : View> T.alignBottomToBottomOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignBottomToTopOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.yD so that this View's bottom side is aligned with the other View's top side

fun <T : View> T.alignBottomToTopOf(other: View, padding: Float): T
fun <T : View> T.alignBottomToTopOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignLeftToLeftOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.xD so that this View's left side is aligned with the other View's left side

fun <T : View> T.alignLeftToLeftOf(other: View, padding: Float): T
fun <T : View> T.alignLeftToLeftOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignLeftToRightOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.xD so that this View's left side is aligned with the other View's right side

fun <T : View> T.alignLeftToRightOf(other: View, padding: Float): T
fun <T : View> T.alignLeftToRightOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignRightToLeftOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.xD so that this View's right side is aligned with the other View's left side

fun <T : View> T.alignRightToLeftOf(other: View, padding: Float): T
fun <T : View> T.alignRightToLeftOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignRightToRightOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.xD so that this View's right side is aligned with the other View's right side

fun <T : View> T.alignRightToRightOf(other: View, padding: Float): T
fun <T : View> T.alignRightToRightOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignTopToBottomOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.yD so that this View's top side is aligned with the other View's bottom side

fun <T : View> T.alignTopToBottomOf(other: View, padding: Float): T
fun <T : View> T.alignTopToBottomOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignTopToTopOf(other: View, padding: Double = 0.0): T

Chainable method returning this that sets View.yD so that this View's top side is aligned with the other View's top side

fun <T : View> T.alignTopToTopOf(other: View, padding: Float): T
fun <T : View> T.alignTopToTopOf(other: View, padding: Int): T
Link copied to clipboard
fun <T : View> T.alignX(other: View, ratio: Double, inside: Boolean, padding: Double = 0.0): T
Link copied to clipboard
fun <T : View> T.alignXY(other: View, ratio: Double, inside: Boolean, doX: Boolean, padding: Double = 0.0): T
Link copied to clipboard
fun <T : View> T.alignY(other: View, ratio: Double, inside: Boolean, padding: Double = 0.0): T
Link copied to clipboard
fun <T : View> T.centerBetween(x1: Double, y1: Double, x2: Double, y2: Double): T

Chainable method returning this that sets this View in the middle between x1 and x2 and in the middle between y1 and y2

fun <T : View> T.centerBetween(x1: Float, y1: Float, x2: Float, y2: Float): T
fun <T : View> T.centerBetween(x1: Int, y1: Int, x2: Int, y2: Int): T
Link copied to clipboard
fun <T : View> T.centerOn(other: View): T

Chainable method returning this that sets View.xD and View.yD so that this View is centered on the other View

Link copied to clipboard
fun <T : View> T.centerOnStage(): T
Link copied to clipboard
fun <T : View> T.centerXBetween(x1: Double, x2: Double): T

Chainable method returning this that sets this View in the middle between x1 and x2

fun <T : View> T.centerXBetween(x1: Float, x2: Float): T
fun <T : View> T.centerXBetween(x1: Int, x2: Int): T
Link copied to clipboard
fun <T : View> T.centerXOn(other: View): T

Chainable method returning this that sets View.xD so that this View is centered on the other View horizontally

Link copied to clipboard
fun <T : View> T.centerXOnStage(): T
Link copied to clipboard
fun <T : View> T.centerYBetween(y1: Double, y2: Double): T

Chainable method returning this that sets this View in the middle between y1 and y2

fun <T : View> T.centerYBetween(y1: Float, y2: Float): T
fun <T : View> T.centerYBetween(y1: Int, y2: Int): T
Link copied to clipboard
fun <T : View> T.centerYOn(other: View): T

Chainable method returning this that sets View.yD so that this View is centered on the other View vertically

Link copied to clipboard
fun <T : View> T.centerYOnStage(): T