DioDocs for PDF
AddShadow メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス : AddShadow メソッド
The horizontal offset of the shadow, in pixels.
The vertical offset of the shadow, in pixels.
The optional background color of the resulting image.
The shadow color.
The shadow opacity, from 0 to 1.
The shadow blur radius, in pixels.
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 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
 

パラメータ

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.
参照

GcBitmap クラス
GcBitmap メンバ