The shadow color.
The shadow opacity, from 0 to 1.
Creates a new bitmap by adding a shadow to text and graphics on the current image. The shadow shows only where the pixels of the current image are transparent or semi-transparent.
シンタックス
'宣言
Public Function AddShadow( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Nullable(Of Color), _
ByVal shadowColor As System.Drawing.Color, _
Optional ByVal shadowOpacity As System.Single, _
Optional ByVal As System.Integer _
) As GcBitmap
パラメータ
- 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.
戻り値の型
A
GcBitmap with the added shadow.
参照