<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKDrawing-swift.struct/transformed(using:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "s:9PencilKit9PKDrawingV11transformed5usingACSo17CGAffineTransformV_tF"
  },
  "title" : "transformed(using:)"
}
-->

# transformed(using:)

Applies the specified transform and returns a new drawing.

```
func transformed(using transform: CGAffineTransform) -> PKDrawing
```

## Parameters

`transform`

The <doc://com.apple.documentation/documentation/CoreFoundation/CGAffineTransform> to apply to the contents of this drawing.

## Return Value

A new drawing with the provided `transform` applied.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)