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) | ![]() |
---|---|
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) |
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)