---
title: CGTextDrawingMode.clip
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgtextdrawingmode/clip
---

# CGTextDrawingMode.clip

Specifies to intersect the text with the current clipping path. This mode does not paint the text.

## Declaration

```swift
case clip
```

## See Also

### Constants

- [CGTextDrawingMode.fill](coregraphics/cgtextdrawingmode/fill.md)
- [CGTextDrawingMode.stroke](coregraphics/cgtextdrawingmode/stroke.md)
- [CGTextDrawingMode.fillStroke](coregraphics/cgtextdrawingmode/fillstroke.md)
- [CGTextDrawingMode.invisible](coregraphics/cgtextdrawingmode/invisible.md)
- [CGTextDrawingMode.fillClip](coregraphics/cgtextdrawingmode/fillclip.md)
- [CGTextDrawingMode.strokeClip](coregraphics/cgtextdrawingmode/strokeclip.md)
- [CGTextDrawingMode.fillStrokeClip](coregraphics/cgtextdrawingmode/fillstrokeclip.md)
