1. Create a 1 × 2 pixel file with a white background, select one pixel in the upper half of the file with the rectangular marquee tool, and fill it with color;
2. Press CTRL and A to select all the patterns and go to Menu and Edit to define the patterns;
3. Open a picture to be affected, go to Menu and Layer to fill a new layer, and select a pattern;
4. Change the blending mode of this layer to Overlay, and reduce the transparency appropriately, so that the effect will come out. Other mixed modes can also be selected, and different modes have different effects;
5. For the filling of extracted lines, other patterns can also be used. As long as the above methods are followed, the filling pattern is set first, and then the above operations are carried out.