←Select platform

FadedMaskCommand Constructor(int,int,int,int,FadedMaskCommandFlags,int,RasterColor)

Summary

Initializes a new FadedMaskCommand class object with explicit parameters.

Syntax
C#
VB
C++
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 _ 
) 
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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Effects Assembly