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, _ radius As Single, _ enlargeToFit As Boolean _ )
public void Shadow( Color shadowColor, float horizontalOffset, float verticalOffset, float radius, bool enlargeToFit )
Type: System.Single
Horizontal offset of the shadow.Type: System.Single
Vertical offset of the shadow.Type: System.Single
Value that specifies a blur radius used to blur the shadow.Type: System.Boolean
Value that specifies whether to enlarge the image to fit entire 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.