---
title: transformStruct
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsaffinetransform/transformstruct
---

# transformStruct

The matrix coefficients stored as the transformation matrix.

## Declaration

```swift
var transformStruct: NSAffineTransformStruct { get set }
```

## Discussion

Discussion The matrix is of the form shown in Transform Mathematics, and the six-element structure defined by the NSAffineTransformStruct structure is of the form: {m11, m12, m21, m22, tX, tY} The NSAffineTransformStruct structure is an alternate representation of a transformation matrix that can be used to specify matrix values directly.

## See Also

### Related Documentation

- [init(transform:)](foundation/nsaffinetransform/init(transform:).md)

### Accessing the Transformation Matrix

- [NSAffineTransformStruct](foundation/nsaffinetransformstruct.md)
