'Declaration Public Function AddShadow( _ ByVal xOffset As System.Integer, _ ByVal yOffset As System.Integer, _ ByVal backColor As System.Nullable(Of Color), _ ByVal shadowColor As System.Drawing.Color, _ Optional ByVal shadowOpacity As System.Single, _ Optional ByVal gaussianBlurRadius As System.Integer _ ) As GcBitmap
public GcBitmap AddShadow( System.int xOffset, System.int yOffset, System.Nullable<Color> backColor, System.Drawing.Color shadowColor, System.float shadowOpacity, System.int gaussianBlurRadius )
Parameters
- xOffset
- The horizontal offset of the shadow, in pixels.
- yOffset
- The vertical offset of the shadow, in pixels.
- backColor
- The optional background color of the resulting image.
- shadowColor
- The shadow color.
- shadowOpacity
- The shadow opacity, from 0 to 1.
- gaussianBlurRadius
- The shadow blur radius, in pixels.
Return Value
A GcBitmap with the added shadow.