---
title: "Graphics.SoftMask Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Drawing_Graphics_SoftMask.htm
product: "Graphics Mill"
---

# Graphics.SoftMask Property 
 
Gets or sets a soft mask representing variable opacity for everything drawn on this [Graphics](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Graphics.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 SoftMask SoftMask { get; set; }
```
 
### Property Value
A [SoftMask](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_SoftMask.htm.md) that defines the opacity mask, or `null` if no soft mask is set.
 
## Remarks
  
When writing to PDF, the soft mask is stored as a native PDF soft mask object; it is not rasterized.
   
## See Also

### Reference

- [Graphics Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Graphics.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)
