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

TransformsProvider.Spray Method (Int32, Single, FadeType, Int32, Color)

Applies spray effect on the image.

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

Syntax

Visual Basic
Public Sub Spray ( _
	amount As Integer, _
	frameWidth As Single, _
	fadeType As FadeType, _
	seed As Integer, _
	backgroundColor As Color _
)
C#
public void Spray(
	int amount,
	float frameWidth,
	FadeType fadeType,
	int seed,
	Color backgroundColor
)

Parameters

amount

Type: System.Int32

Value specifying the amount of the effect (variance of the random number generated by the transform).
frameWidth

Type: System.Single

Width of the frame for which the effect should be applied.
fadeType

Type: Aurigma.GraphicsMill.Transforms.FadeType

FadeType value that specifies fade type for the spray effect.
seed

Type: System.Int32

An integer value specifying seed for random generator.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Default value is a transparent white.

Remarks

You can also use Spray class to apply this effect.

See Also

Reference