Contents

vertical

The alignment on the vertical axis.

Declaration

var vertical: VerticalAlignment

Discussion

Set this value when you initialize an alignment using the init(horizontal:vertical:) method. Use one of the built-in VerticalAlignment guides, like center, or a custom guide that you create.

For information about creating custom guides, see AlignmentID.

See Also

Creating a custom alignment