---
title: CISignedDistanceGradientFromRedMask
framework: coreimage
role: symbol
role_heading: Protocol
path: coreimage/cisigneddistancegradientfromredmask
---

# CISignedDistanceGradientFromRedMask

The protocol for the Signed Distance Gradient From Red Mask filter.

## Declaration

```swift
protocol CISignedDistanceGradientFromRedMask : CIFilterProtocol
```

## Overview

Overview Produces an infinite image where the red channel contains the distance in pixels from each pixel to the mask.

## Topics

### Instance Properties

- [inputImage](coreimage/cisigneddistancegradientfromredmask/inputimage.md)
- [maximumDistance](coreimage/cisigneddistancegradientfromredmask/maximumdistance.md)

## Relationships

### Inherits From

- [CIFilterProtocol](coreimage/cifilterprotocol.md)
