Applies a shadow effect.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Shadow ( _ shadowColor As Color, _ horizontalOffset As Single, _ verticalOffset As Single _ )
Type: System.Single
Horizontal offset of the shadow.Type: System.Single
Vertical offset of the shadow.You can also use Shadow class to apply this effect.
If the bitmap does not have an alpha channel (e.g. its pixel format is Format24bppRgb), alpha channel is automatically added. So be aware that pixel format of the output bitmap may differ from the input one.
bitmap.Transforms.Shadow(Aurigma.GraphicsMill.RgbColor.Gray, 10, 10)
bitmap.Transforms.Shadow(Aurigma.GraphicsMill.RgbColor.Gray, 10, 10);