Leadtools.ImageProcessing.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FadedMaskCommand Constructor(Int32,Int32,Int32,Int32,FadedMaskCommandFlags,Int32,RasterColor)
See Also 
Leadtools.ImageProcessing.Effects Namespace > FadedMaskCommand Class > FadedMaskCommand Constructor : FadedMaskCommand Constructor(Int32,Int32,Int32,Int32,FadedMaskCommandFlags,Int32,RasterColor)



length
Value that represents the extent of the fade, in pixels.
fadeRate
Value that represents the rate at which the color will fade with each step. Values are between 0 and 255.
stepSize
Step size at which the color will change. This value is in pixels.
inflate
Value used to expand the resulting image. This parameter is valid only when FadedMaskCommandFlags.FadeOutsideRegion flag is set.
flags
Flags that indicate how the fade mask will be created.
maximumGray
The maximum value of the fade color. Possible values are between 0 and 255.
transparent
Contains the transparency color.
Initializes a new FadedMaskCommand class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal length As Integer, _
   ByVal fadeRate As Integer, _
   ByVal stepSize As Integer, _
   ByVal inflate As Integer, _
   ByVal flags As FadedMaskCommandFlags, _
   ByVal maximumGray As Integer, _
   ByVal transparent As RasterColor _
)
Visual Basic (Usage)Copy Code
Dim length As Integer
Dim fadeRate As Integer
Dim stepSize As Integer
Dim inflate As Integer
Dim flags As FadedMaskCommandFlags
Dim maximumGray As Integer
Dim transparent As RasterColor
 
Dim instance As FadedMaskCommand(length, fadeRate, stepSize, inflate, flags, maximumGray, transparent)
C# 
public FadedMaskCommand( 
   int length,
   int fadeRate,
   int stepSize,
   int inflate,
   FadedMaskCommandFlags flags,
   int maximumGray,
   RasterColor transparent
)
C++/CLI 
public:
FadedMaskCommand( 
   int length,
   int fadeRate,
   int stepSize,
   int inflate,
   FadedMaskCommandFlags flags,
   int maximumGray,
   RasterColor transparent
)

Parameters

length
Value that represents the extent of the fade, in pixels.
fadeRate
Value that represents the rate at which the color will fade with each step. Values are between 0 and 255.
stepSize
Step size at which the color will change. This value is in pixels.
inflate
Value used to expand the resulting image. This parameter is valid only when FadedMaskCommandFlags.FadeOutsideRegion flag is set.
flags
Flags that indicate how the fade mask will be created.
maximumGray
The maximum value of the fade color. Possible values are between 0 and 255.
transparent
Contains the transparency color.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also