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

# transform(_:)

Applies the receiver’s transform to the specified point and returns the result.

## Declaration

```swift
func transform(_ aPoint: NSPoint) -> NSPoint
```

## Parameters

- `aPoint`: The point in the current coordinate system to which you want to apply the matrix.

## Return Value

Return Value The resulting point after applying the receiver’s transformations.

## See Also

### Transforming Data and Objects

- [transform(_:)](foundation/nsaffinetransform/transform(_:)-5r6ol.md)
- [transform(_:)](foundation/nsaffinetransform/transform(_:)-6z1xo.md)
