---
title: perspectiveTile()
framework: coreimage
role: symbol
role_heading: Type Method
path: coreimage/cifilter-swift.class/perspectivetile()
---

# perspectiveTile()

Tiles an image by adjusting the perspective of the image.

## Declaration

```swift
class func perspectiveTile() -> any CIFilter & CIPerspectiveTile
```

## Return Value

Return Value The tiled image.

## Discussion

Discussion This method applies the perspective tile filter to an image. The effect adjusts the perspective of the image and then tiles the result. The perspective tile filter uses the following properties: The following code creates a filter that tiles the image and adjusts the perspective to add depth: func perspective(inputImage: CIImage) -> CIImage {     let perspectiveTile = CIFilter.perspectiveTile()     perspectiveTile.inputImage = inputImage     perspectiveTile.topLeft = CGPoint(x: 118, y: 484)     perspectiveTile.topRight = CGPoint(x: 646, y: 507)     perspectiveTile.bottomLeft = CGPoint(x: 548, y: 140)     perspectiveTile.bottomRight = CGPoint(x: 155, y: 153)     return perspectiveTile.outputImage! }

## See Also

### Filters

- [affineClamp()](coreimage/cifilter-swift.class/affineclamp().md)
- [affineTile()](coreimage/cifilter-swift.class/affinetile().md)
- [eightfoldReflectedTile()](coreimage/cifilter-swift.class/eightfoldreflectedtile().md)
- [fourfoldReflectedTile()](coreimage/cifilter-swift.class/fourfoldreflectedtile().md)
- [fourfoldRotatedTile()](coreimage/cifilter-swift.class/fourfoldrotatedtile().md)
- [fourfoldTranslatedTile()](coreimage/cifilter-swift.class/fourfoldtranslatedtile().md)
- [glideReflectedTile()](coreimage/cifilter-swift.class/glidereflectedtile().md)
- [kaleidoscope()](coreimage/cifilter-swift.class/kaleidoscope().md)
- [opTile()](coreimage/cifilter-swift.class/optile().md)
- [parallelogramTile()](coreimage/cifilter-swift.class/parallelogramtile().md)
- [sixfoldReflectedTile()](coreimage/cifilter-swift.class/sixfoldreflectedtile().md)
- [sixfoldRotatedTile()](coreimage/cifilter-swift.class/sixfoldrotatedtile().md)
- [triangleKaleidoscope()](coreimage/cifilter-swift.class/trianglekaleidoscope().md)
- [triangleTile()](coreimage/cifilter-swift.class/triangletile().md)
- [twelvefoldReflectedTile()](coreimage/cifilter-swift.class/twelvefoldreflectedtile().md)
