---
title: "append(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsaffinetransform/append(_:)"
---

# append(_:)

Appends the specified matrix to the receiver’s matrix.

## Declaration

```swift
func append(_ transform: NSAffineTransform)
```

```swift
func append(_ transform: AffineTransform)
```

## Parameters

- `transform`: The matrix to append to the receiver.

## Discussion

Discussion This method multiplies the receiver’s matrix by the matrix in aTransform and replaces the receiver’s matrix with the results. This type of operation is the same as applying the transformations in the receiver followed by the transformations in aTransform.

## See Also

### Accumulating Transformations

- [rotate(byDegrees:)](foundation/nsaffinetransform/rotate(bydegrees:).md)
- [rotate(byRadians:)](foundation/nsaffinetransform/rotate(byradians:).md)
- [scale(by:)](foundation/nsaffinetransform/scale(by:).md)
- [scaleX(by:yBy:)](foundation/nsaffinetransform/scalex(by:yby:).md)
- [translateX(by:yBy:)](foundation/nsaffinetransform/translatex(by:yby:).md)
- [prepend(_:)](foundation/nsaffinetransform/prepend(_:).md)
- [invert()](foundation/nsaffinetransform/invert().md)
