y

Sets the component's actual y position to value, keeping its current x, like setLocation(x, y). See location (the Int overload) for how it takes effect only outside a managed layout and how location/x/y compose per axis.

Return

this modifier with the y position declared on it.

Parameters

value

the top edge in pixels, in the parent's coordinate space; the x coordinate written with it is the one the component holds when the write runs - whatever the last declaration or layout pass left there.

See also