withAlignmentWithin

open fun withAlignmentWithin(tileGrid: TileGrid, alignment: ComponentAlignment): U

Aligns the resulting Component within the tileGrid using the given alignment. Same as calling withAlignment(alignmentWithin(tileGrid, alignment))

open fun withAlignmentWithin(container: Container, alignment: ComponentAlignment): U

Aligns the resulting Component within the container using the given alignment. Same as calling withAlignment(alignmentWithin(container, alignment))