---
title: "Shadow Constructor (Single, Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Drawing_Effects_Shadow_ctor_4_c2e5c03f.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# Shadow Constructor (Single, Single, Single, Single)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Creates the [Shadow](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Effects_Shadow.htm.md) effect with the specified size, offset, and opacity.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing.Effects](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing_Effects.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public Shadow(float size,float offsetX,float offsetY,float opacity
)
```
 
### Parameters
 
 - size
     - Type: System.Single

 - offsetX
     - Type: System.Single
The x-coordinate of the offset of the shadow in points.

 - offsetY
     - Type: System.Single
The y-coordinate of the offset of the shadow in points.

 - opacity
     - Type: System.Single
The opacity of the shadow.
   
## See Also

### Reference

- [Shadow Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Effects_Shadow.htm.md)
- [Shadow Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_Effects_Shadow_ctor.htm.md)
- [Aurigma.GraphicsMill.Drawing.Effects Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing_Effects.htm.md)
