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

# dotScreen()

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

## Declaration

```swift
class func dotScreen() -> any CIFilter & CIDotScreen
```

## Return Value

Return Value The modified image.

## Discussion

Discussion This method applies a dot screen filter to an image. The effect generates a monochrome image containing a series of dots creating 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. Print media commonly uses this effect. The dot screen filter uses the following properties: The following code creates a filter that produces an image containing monochrome dots of detail on a black background: func dot (inputImage: CIImage) -> CIImage {     let dotScreen = CIFilter.dotScreen()     dotScreen.inputImage = inputImage     dotScreen.angle = 0     dotScreen.center = CGPoint(x: 2016, y: 1512)     dotScreen.width = 35     dotScreen.sharpness = 0.7     return dotScreen.outputImage! }

## See Also

### Filters

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