DioDocs for PDF
AddGlow メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Imaging 名前空間 > GcBitmap クラス : AddGlow メソッド
The optional background color of the resulting image.
The glow color.
The glow opacity, from 0 to 1.
The glow inflation radius, in pixels.
The Gaussian blur radius, in pixels.
Creates a new bitmap by adding a glow to text and graphics on the current image.

The glow effect inflates all non-transparent areas of an image by a specified amount, then applies a Gaussian blur to make the border smooth. The glow shows only where the pixels of the current image are transparent or semi-transparent.

シンタックス
'宣言
 
Public Function AddGlow( _
   ByVal backColor As System.Nullable(Of Color), _
   ByVal glowColor As System.Drawing.Color, _
   Optional ByVal glowOpacity As System.Single, _
   Optional ByVal inflationRadius As System.Integer, _
   Optional ByVal gaussianBlurRadius As System.Integer _
) As GcBitmap
 

パラメータ

backColor
The optional background color of the resulting image.
glowColor
The glow color.
glowOpacity
The glow opacity, from 0 to 1.
inflationRadius
The glow inflation radius, in pixels.
gaussianBlurRadius
The Gaussian blur radius, in pixels.

戻り値の型

A GcBitmap with the glow effect added.
参照

GcBitmap クラス
GcBitmap メンバ