'Declaration Public Shared Function CreateColorGradientReplaceCommand( _
ByVal startColorStart color of linear gradient.As Vintasoft.Imaging.ImageColors.Rgb24Color, _
ByVal stopColorStop color of linear gradient.As Vintasoft.Imaging.ImageColors.Rgb24Color, _
ByVal radiusRadius of color gradient in RGB color space.As Double, _
ByVal replaceColorA color, which should be used instead of color gradient.As Vintasoft.Imaging.ImageColors.Rgb24Color, _
ByVal replaceInterpolationRadiusA radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.As Double _
) As AdvancedReplaceColorCommand
public static AdvancedReplaceColorCommand CreateColorGradientReplaceCommand(
Vintasoft.Imaging.ImageColors.Rgb24Color startColor,
Vintasoft.Imaging.ImageColors.Rgb24Color stopColor,
double radius,
Vintasoft.Imaging.ImageColors.Rgb24Color replaceColor,
double replaceInterpolationRadius
)
public: static AdvancedReplaceColorCommand* CreateColorGradientReplaceCommand(
Vintasoft.Imaging.ImageColors.Rgb24Color* startColor,
Vintasoft.Imaging.ImageColors.Rgb24Color* stopColor,
double radius,
Vintasoft.Imaging.ImageColors.Rgb24Color* replaceColor,
double replaceInterpolationRadius
)
public:
static AdvancedReplaceColorCommand^ CreateColorGradientReplaceCommand(
Vintasoft.Imaging.ImageColors.Rgb24Color^ startColor,
Vintasoft.Imaging.ImageColors.Rgb24Color^ stopColor,
double radius,
Vintasoft.Imaging.ImageColors.Rgb24Color^ replaceColor,
double replaceInterpolationRadius
)
Parameters
- startColor
- Start color of linear gradient.
- stopColor
- Stop color of linear gradient.
- radius
- Radius of color gradient in RGB color space.
- replaceColor
- A color, which should be used instead of color gradient.
- replaceInterpolationRadius
- A radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.
Return Value
A new instance of AdvancedReplaceColorCommand.