This documentation is for the old version. Go to the latest Graphics Mill docs

TransformsProvider.Glow Method (Color, Single, Single, Boolean)

Applies glow effect.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Glow ( _
	glowColor As Color, _
	intensity As Single, _
	radius As Single, _
	enlargeToFit As Boolean _
)
C#
public void Glow(
	Color glowColor,
	float intensity,
	float radius,
	bool enlargeToFit
)

Parameters

glowColor

Type: Aurigma.GraphicsMill.Color

Glow color.
intensity

Type: System.Single

Positive Single value that specifies glow intensity. Small values (about 1.0 or below) provide hardly visible glow. In the same time, large values (say, about 50) provide too heavy glow.
radius

Type: System.Single

Value that specifies a blur radius used to blur the glow.
enlargeToFit

Type: System.Boolean

Value that specifies whether to enlarge the image to fit entire glow.

Remarks

You can also use Glow class to apply this effect.

Note

If the bitmap does not have an alpha channel (e.g. its pixel format is Format24bppRgb), alpha channel is automatically added. So be aware that pixel format of the output bitmap may differ from the input one.

See Also

Reference