# `GSMaskType`

*Enumeration*

How a shape masks preceding shapes in the same composition unit.

## Declaration

```swift
enum GSMaskType
```

```objc
enum GSMaskType : uint8_t;
```

```python
GSMaskType
```

## Topics

### Enumeration Cases

- [`GSMaskType.GSMaskTypeIntersect`](/Core/GlyphsCore/GSMaskType/GSMaskTypeIntersect) — Retains only the area covered by the shape.
- [`GSMaskType.GSMaskTypeNone`](/Core/GlyphsCore/GSMaskType/GSMaskTypeNone) — Does not use the shape as a mask.
- [`GSMaskType.GSMaskTypeSubtract`](/Core/GlyphsCore/GSMaskType/GSMaskTypeSubtract) — Removes the area covered by the shape.

## See Also

### Masking

- [`GSShape.maskType`](/Core/GlyphsCore/GSShape/maskType) — How the shape masks the preceding shape or shapes in the same composition unit.

