Contents

init(horizontal:vertical:depth:)

Creates a custom alignment value with the specified horizontal, vertical and depth alignment guides.

Declaration

init(horizontal: HorizontalAlignment, vertical: VerticalAlignment, depth: DepthAlignment)

Parameters

  • horizontal:

    The alignment on the horizontal axis.

  • vertical:

    The alignment on the vertical axis.

  • depth:

    The alignment on the depth axis.