---
title: "Shadow Constructor (Color, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Transforms_Shadow_ctor_3_1be04b63.htm
product: "Graphics Mill"
---

# Shadow Constructor (Color, Single, Single)
 
Initializes a new instance of the [Shadow](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Shadow.htm.md) class using the specified color and offsets.
 
**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
)
```
 
### 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
The horizontal offset of the shadow. You can change it later using the [HorizontalOffset](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_HorizontalOffset.htm.md) property.

 - verticalOffset
     - Type: System.Single
The vertical offset of the shadow. You can change it later using the [VerticalOffset](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Shadow_VerticalOffset.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)
