Returns an affine transformation matrix constructed by translating an existing affine transform.
- iOS 2.0+
- macOS 10.0+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The value by which to move x values with the affine transform.
The value by which to move y values with the affine transform.
A new affine transformation matrix.
You use this function to create a new affine transform by adding translation values to an existing affine transform. The resulting structure represents a new affine transform, which you can use (and reuse, if you want) to move a coordinate system.