---
title: "SoftMask Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_SoftMask.htm
product: "Graphics Mill"
---

# SoftMask Class
 
Represents a soft mask that applies variable opacity to a [Graphics](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Graphics.htm.md) or an [Item](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Item.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class SoftMask
```
 
## Remarks
  
A [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md) can be assigned to [SoftMask](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Drawing_Graphics_SoftMask.htm.md) or [SoftMask](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Drawing_Item_SoftMask.htm.md) directly. It is converted to a SoftMask with the [Luminosity](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_SoftMaskMethod.htm.md) method and no backdrop.
 
## Inheritance Hierarchy
  
- System.Object
    - Aurigma.GraphicsMill.Drawing.SoftMask
   
## See Also

### Reference

- [SoftMask Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Drawing_SoftMask.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)

### Manual

- [Graphics: Drawing Images and Geometric Shapes](https://www.graphicsmill.com/docs/gm/graphics.htm.md)
