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

Spray Constructor (Int32, Single, FadeType, Int32, Color)

Creates and initializes new Spray class instance. You can set all spray parameters here.

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

Syntax

Visual Basic
Public Sub New ( _
	amount As Integer, _
	frameWidth As Single, _
	fadeType As FadeType, _
	seed As Integer, _
	backgroundColor As Color _
)
C#
public 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). You can change this value later using Amount property.
frameWidth

Type: System.Single

Width of the frame for which the effect should be applied. You can change this value later using FrameWidth property.
fadeType

Type: Aurigma.GraphicsMill.Transforms.FadeType

FadeType value that specifies fade type for the spray effect. You can change this value later using FadeType property.
seed

Type: System.Int32

An integer value specifying seed for random generator. You can change this value later using Seed property (or reinitialize it with Randomize() method).
backgroundColor

Type: Aurigma.GraphicsMill.Color

Default value is a transparent white. You can change this value later using BackgroundColor property.

See Also

Reference