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.
Creates an offset structure from the given components.
init(horizontal: CGFloat, vertical: CGFloat)The horizontal offset.
The vertical offset.