LEADTOOLS Image Processing (Leadtools.ImageProcessing.Effects assembly)

FadedMaskCommand Constructor(Int32,Int32,Int32,Int32,FadedMaskCommandFlags,Int32,RasterColor)

Show in webframe







Value that represents the extent of the fade, in pixels.
Value that represents the rate at which the color will fade with each step. Values are between 0 and 255.
Step size at which the color will change. This value is in pixels.
Value used to expand the resulting image. This parameter is valid only when FadedMaskCommandFlags.FadeOutsideRegion flag is set.
Flags that indicate how the fade mask will be created.
The maximum value of the fade color. Possible values are between 0 and 255.
Contains the transparency color.
Initializes a new FadedMaskCommand class object with explicit parameters.
Syntax
public FadedMaskCommand( 
   int length,
   int fadeRate,
   int stepSize,
   int inflate,
   FadedMaskCommandFlags flags,
   int maximumGray,
   RasterColor transparent
)
'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 _
)
'Usage
 
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 New FadedMaskCommand(length, fadeRate, stepSize, inflate, flags, maximumGray, transparent)
public FadedMaskCommand( 
   int length,
   int fadeRate,
   int stepSize,
   int inflate,
   FadedMaskCommandFlags flags,
   int maximumGray,
   RasterColor transparent
)

            

            
function FadedMaskCommand( 
   length ,
   fadeRate ,
   stepSize ,
   inflate ,
   flags ,
   maximumGray ,
   transparent 
)
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
Refer to FeatherAlphaBlendCommand.
Requirements

Target Platforms

See Also

Reference

FadedMaskCommand Class
FadedMaskCommand Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.