[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGlow

ApplyGlow Method

ApplyGlow(int, int)

When applied to a grayscale mask built from a color image using the ToGrayscaleBitmap(ColorChannel, bool) method, modifies it so that the result can be used as a transparency mask to produce Glow or Soft Edges effect.

Declaration
public void ApplyGlow(int infRadius = 4, int blurRadius = 6)
Public Sub ApplyGlow(Optional infRadius As Integer = 4, Optional blurRadius As Integer = 6)
Parameters
Type Name Description
int infRadius

The radius of inflation (positive, glow) or deflation (negative, soft edges), in pixels.

int blurRadius

The radius of Gaussian blur, in pixels.