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 GcBitmap AddGlow(
System.Nullable<Color> ,
System.Drawing.Color ,
System.float ,
System.int ,
System.int
)
'宣言
Public Function AddGlow( _
ByVal As System.Nullable(Of Color), _
ByVal As System.Drawing.Color, _
Optional ByVal As System.Single, _
Optional ByVal As System.Integer, _
Optional ByVal 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.
参照