---
title: "init(a:b:c:d:tx:ty:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/vimage_affinetransform/init(a:b:c:d:tx:ty:)-58fxt"
---

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

Returns a new affine transform.

## Declaration

```swift
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.

## See Also

### Initializers

- [init()](accelerate/vimage_affinetransform/init().md)
- [init(a:b:c:d:tx:ty:)](accelerate/vimage_affinetransform/init(a:b:c:d:tx:ty:)-6b4yl.md)
