<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImage_AffineTransform/init(a:b:c:d:tx:ty:)-58fxt",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:So22vImage_AffineTransformV1a1b1c1d2tx2tyABSf_S5ftcfc"
  },
  "title" : "init(a:b:c:d:tx:ty:)"
}
-->

# init(a:b:c:d:tx:ty:)

Returns a new affine transform.

```
init(a: Float, b: Float, c: Float, d: Float, tx: Float, ty: Float)
```

## Parameters

`a`

The entry at position `[1,1]` in the matrix.

`b`

The entry at position `[1,2]` in the matrix.

`c`

The entry at position `[2,1]` in the matrix.

`d`

The entry at position `[2,2]` in the matrix.

`tx`

The entry at position `[3,1]` in the matrix.

`ty`

The entry at position `[3,2]` in the matrix.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)