---
title: "init(a:b:c:d:tx:ty:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/vimage_affinetransform_double/init(a:b:c:d:tx:ty:)-9nehj"
---

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

Returns a new affine transform.

## Declaration

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

## 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.

## Discussion

Discussion

## See Also

### Initializers

- [init()](accelerate/vimage_affinetransform_double/init().md)
- [init(a:b:c:d:tx:ty:)](accelerate/vimage_affinetransform_double/init(a:b:c:d:tx:ty:)-4gqxp.md)
