In This Topic
When applied to a grayscale mask built from a color image using the
ToGrayscaleBitmap method, modifies it so that the result can be used as a transparency mask to produce
Glow or
Soft Edges effect.
Syntax
'Declaration
Public Sub ApplyGlow( _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void ApplyGlow(
System.int ,
System.int
)
Parameters
- infRadius
- The radius of inflation (positive, glow) or deflation (negative, soft edges), in pixels.
- blurRadius
- The radius of Gaussian blur, in pixels.
See Also