---
title: "Shadow Constructor (Color, Single, Single, Single, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Transforms_Shadow_ctor_5_69062a71.htm
product: "Graphics Mill"
---

# Shadow Constructor (Color, Single, Single, Single, Boolean)
 
Creates and initializes new [Shadow](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Shadow.htm.md) class instance. You can set all the shadow parameters here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public Shadow(Color color,float horizontalOffset,float verticalOffset,float radius,bool enlargeToFit
)
```
 
### Parameters
 
 - color
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md)
A [Color](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Color.htm.md) of this shadow. You can change it later using the [Color](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_Color.htm.md) property.

 - horizontalOffset
     - Type: System.Single
Value that specifies horizontal offset of the shadow. You can change it later using [HorizontalOffset](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_HorizontalOffset.htm.md) property.

 - verticalOffset
     - Type: System.Single
Value that specifies vertical offset of the shadow. You can change it later using [VerticalOffset](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_VerticalOffset.htm.md) property.

 - radius
     - Type: System.Single
Value that specifies a blur radius used to blur the shadow. You can change it later using [Radius](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_Radius.htm.md) property.

 - enlargeToFit
     - Type: System.Boolean
Value that specifies whether to enlarge the image to fit entire shadow. You can change it later using [EnlargeToFit](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_EnlargeToFit.htm.md) property.
   
## See Also

### Reference

- [Shadow Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Shadow.htm.md)
- [Shadow Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_Shadow_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
