anchor

fun <T : Node> T.anchor(all: Int): T
fun <T : Node> T.anchor(all: Long): T
fun <T : Node> T.anchor(all: Double): T

Set children anchor on all side in this layout.


fun <T : Node> T.anchor(horizontal: Int = Int.MIN_VALUE, vertical: Int = Int.MIN_VALUE): T
fun <T : Node> T.anchor(top: Int = Int.MIN_VALUE, right: Int = Int.MIN_VALUE, bottom: Int = Int.MIN_VALUE, left: Int = Int.MIN_VALUE): T
fun <T : Node> T.anchor(horizontal: Long = Long.MIN_VALUE, vertical: Long = Long.MIN_VALUE): T
fun <T : Node> T.anchor(top: Long = Long.MIN_VALUE, right: Long = Long.MIN_VALUE, bottom: Long = Long.MIN_VALUE, left: Long = Long.MIN_VALUE): T
fun <T : Node> T.anchor(horizontal: Double = Double.NaN, vertical: Double = Double.NaN): T
fun <T : Node> T.anchor(top: Double = Double.NaN, right: Double = Double.NaN, bottom: Double = Double.NaN, left: Double = Double.NaN): T

Set children anchor on each side in this layout.