<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGPatternTiling",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGPatternTiling"
  },
  "title" : "CGPatternTiling"
}
-->

# CGPatternTiling

Different methods for rendering a tiled pattern.

```
enum CGPatternTiling
```

## Topics

### Constants

[`kCGPatternTilingNoDistortion`](/documentation/CoreGraphics/CGPatternTiling/noDistortion)

The pattern cell is not distorted when painted.The spacing between pattern cells may vary by as much as 1 devicepixel.

[`kCGPatternTilingConstantSpacingMinimalDistortion`](/documentation/CoreGraphics/CGPatternTiling/constantSpacingMinimalDistortion)

Pattern cells are spaced consistently. Thepattern cell may be distorted by as much as 1 device pixel whenthe pattern is painted.

[`kCGPatternTilingConstantSpacing`](/documentation/CoreGraphics/CGPatternTiling/constantSpacing)

Pattern cells are spaced consistently, as with [`CGPatternTiling.constantSpacingMinimalDistortion`](/documentation/CoreGraphics/CGPatternTiling/constantSpacingMinimalDistortion).The pattern cell may be distorted additionally to permit a moreefficient implementation.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)