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

# hatchedScreen()

Creates a monochrome image with a series of lines to add detail.

## Declaration

```swift
class func hatchedScreen() -> any CIFilter & CIHatchedScreen
```

## Return Value

Return Value The modified image.

## Discussion

Discussion This method applies a hatched screen filter to an image. The effect generates a monochrome image containing a series of lines in hatched pattern to create detail. The halftone effect is a set of lines, dots, or circles that contain detail. When viewing the image from a distance, the markings blend together, creating the illusion of continuous lines and shapes. The effect is often used in print media for more efficient printing. The hatched screen filter uses the following properties: The following code creates a filter that produces a monochrome image containing lines of detail on a black background: func hatched(inputImage: CIImage) -> CIImage {     let hatchedScreen = CIFilter.hatchedScreen()     hatchedScreen.inputImage = inputImage     hatchedScreen.center = CGPoint(x: 2016, y: 1512)     hatchedScreen.angle = 10     hatchedScreen.width = 35     hatchedScreen.sharpness = 0.7     return hatchedScreen.outputImage! }

## See Also

### Filters

- [circularScreen()](coreimage/cifilter-swift.class/circularscreen().md)
- [cmykHalftone()](coreimage/cifilter-swift.class/cmykhalftone().md)
- [dotScreen()](coreimage/cifilter-swift.class/dotscreen().md)
- [lineScreen()](coreimage/cifilter-swift.class/linescreen().md)
