---
title: "apply(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uibezierpath/apply(_:)"
---

# apply(_:)

Transforms all points in the path using the specified affine transform matrix.

## Declaration

```swift
func apply(_ transform: CGAffineTransform)
```

## Parameters

- `transform`: The transform matrix to apply to the path.

## Discussion

Discussion This method applies the specified transform to the path’s points immediately. The modifications made to the path object are permanent. If you do not want to permanently modify a path object, you should consider applying the transform to a copy.
