---
title: "applying(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/path/applying(_:)"
---

# applying(_:)

Returns a path constructed by applying the transform to all points of the path.

## Declaration

```swift
func applying(_ transform: CGAffineTransform) -> Path
```

## Parameters

- `transform`: An affine transform to apply to the path.

## Return Value

Return Value A new copy of the path with the transform applied to all points.

## See Also

### Transforming the path

- [offsetBy(dx:dy:)](swiftui/path/offsetby(dx:dy:).md)
- [trimmedPath(from:to:)](swiftui/path/trimmedpath(from:to:).md)
