# `GSDrawSliceMask`

*Class*

## Declaration

```swift
class GSDrawSliceMask
```

```objc
@interface GSDrawSliceMask : NSObject
```

```python
class GSDrawSliceMask(NSObject)
```

## Topics

### Instance Properties

- [`GSDrawSliceMask.maskType`](/Core/GlyphsCore/GSDrawSliceMask/maskType) — A regular mask behaves like a mask in Photoshop or a clip path in PostScript-style system (e.g., Core Graphics, SVG). An inverse mask masks the inverse area like an inverted mask in Photoshop or a SwiftUI clip path with the inverse option set.
- [`GSDrawSliceMask.shape`](/Core/GlyphsCore/GSDrawSliceMask/shape)

### Instance Methods

- [`GSDrawSliceMask initWithShape:type:`](/Core/GlyphsCore/GSDrawSliceMask/initWithShape:type:)

## Relationships

### Inherits From

- `NSObject`

