DioDocs for PDF
ToShadowBitmap(Color,Single,Boolean) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GrayscaleBitmap クラス > ToShadowBitmap メソッド : ToShadowBitmap(Color,Single,Boolean) メソッド
The color to fill opaque pixels of the target bitmap.
Additional factor to scale the alpha channel.
Specifies whether zero values correspond to fully opaque (true) or fully transparent (false) pixels.
Creates a semi-transparent GcBitmap from the current GrayscaleBitmap.

This method treats the current GrayscaleBitmap as a transparency mask, regardless of the TransparencyMask property value.

シンタックス
'宣言
 
Public Overloads Function ToShadowBitmap( _
   ByVal shadowColor As System.Drawing.Color, _
   Optional ByVal opacityFactor As System.Single, _
   Optional ByVal zeroIsOpaque As System.Boolean _
) As GcBitmap
public GcBitmap ToShadowBitmap( 
   System.Drawing.Color shadowColor,
   System.float opacityFactor,
   System.bool zeroIsOpaque
)

パラメータ

shadowColor
The color to fill opaque pixels of the target bitmap.
opacityFactor
Additional factor to scale the alpha channel.
zeroIsOpaque
Specifies whether zero values correspond to fully opaque (true) or fully transparent (false) pixels.

戻り値の型

The newly created GcBitmap.
参照

GrayscaleBitmap クラス
GrayscaleBitmap メンバ
オーバーロード一覧