Contents

init(horizontal:vertical:)

Creates an offset structure from the given components.

Declaration

init(horizontal: CGFloat, vertical: CGFloat)

Parameters

  • horizontal:

    The horizontal offset.

  • vertical:

    The vertical offset.

See Also

Initializing offsets