---
title: "Shadow Constructor (Color, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Shadow_ctor_3_1be04b63.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Shadow Constructor (Color, Single, Single)
 
Creates and initializes new [Shadow](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Shadow.htm.md) class instance. You can set main shadow parameters (color and offset) here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _shadowColor As Color, _horizontalOffset As Single, _verticalOffset As Single _
)
```
 
```csharp
public Shadow(Color shadowColor,float horizontalOffset,float verticalOffset
)
```
 
### Parameters
 
 - shadowColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
 [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) value that specifies shadow color. You can change it later using [ShadowColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Shadow_ShadowColor.htm.md) property.

 - horizontalOffset
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value that specifies horizontal offset of the shadow. You can change it later using [HorizontalOffset](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Shadow_HorizontalOffset.htm.md) property.

 - verticalOffset
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value that specifies vertical offset of the shadow. You can change it later using [VerticalOffset](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Shadow_VerticalOffset.htm.md) property.
   
## See Also

### Reference

- [Shadow Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Shadow.htm.md)
- [Shadow Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Shadow_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
